Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 209889
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Security <security@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Robert Buchholz <rbu@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:
Flags: Requestee:
 
 
  ()

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 209889 depends on: Show dependency tree
Bug 209889 blocks:

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-02-12 17:59 0000
CVE-2008-0216 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2008-0216):
  The ptsname function in FreeBSD 6.0 through 7.0-PRERELEASE does not properly
  verify that a certain portion of a device name is associated with a pty of a
  user who is calling the pt_chown function, which might allow local users to
  read data from the pty from another user.

------- Comment #1 From Robert Buchholz 2008-02-12 18:02:51 0000 -------
CVE-2008-0217 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2008-0217):
  The script program in FreeBSD 5.0 through 7.0-PRERELEASE invokes openpty,
  which creates a pseudo-terminal with world-readable and world-writable
  permissions when it is not run as root, which allows local users to read data
  from the terminal of the user running script.

------- Comment #2 From Robert Buchholz 2008-02-12 18:03:49 0000 -------
BSD herd, please advise and bump.

------- Comment #3 From Sune Kloppenborg Jeppesen 2008-02-26 20:40:21 0000 -------
BSD herd, please advise and bump.

------- Comment #4 From Alexis Ballier 2008-05-17 21:59:22 0000 -------
(In reply to comment #0)
> CVE-2008-0216 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2008-0216):
>   The ptsname function in FreeBSD 6.0 through 7.0-PRERELEASE does not properly
>   verify that a certain portion of a device name is associated with a pty of a
>   user who is calling the pt_chown function, which might allow local users to
>   read data from the pty from another user.
> 

patched in freebsd-lib-6.2-r4

------- Comment #5 From Alexis Ballier 2008-05-17 22:18:21 0000 -------
(In reply to comment #1)
> CVE-2008-0217 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2008-0217):
>   The script program in FreeBSD 5.0 through 7.0-PRERELEASE invokes openpty,
>   which creates a pseudo-terminal with world-readable and world-writable
>   permissions when it is not run as root, which allows local users to read data
>   from the terminal of the user running script.
> 

actually the openpty function is patched too in freebsd-lib-6.2-r4

as far as I understand it, the script program doesn't need any modification

------- Comment #6 From Pierre-Yves Rofes 2008-07-06 18:05:03 0000 -------
thanks, closing.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug