{"id":"CVE-2008-1845","aliases":["DEBIAN-CVE-2008-1845","EUVD-2008-1845","GHSA-v8fp-2p2f-6r3c"],"status":"published","title":"The Korn shell (aka mksh) before R33d on MirOS (aka MirBSD) does not flush the tty's I/O when...","description":"The Korn shell (aka mksh) before R33d on MirOS (aka MirBSD) does not flush the tty's I/O when invoking mksh in a new terminal, which allows local users to gain privileges by opening a virtual terminal and entering command sequences, which might later be executed in opportunistic circumstances by a different user who launches mksh and specifies that terminal with the -T option.","severity":{"version":"2.0","score":7.2,"vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.00332,"percentile":0.26531,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2008-04-16T17:00:00Z","modified":"2026-10-23T17:47:51Z","fixes":[{"ecosystem":"Debian:12","package":"mksh","fixed_in":["33.4-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"mksh","fixed_in":["33.4-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"mksh","fixed_in":["33.4-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"mksh","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"33.4-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"mksh","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"33.4-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"mksh","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"33.4-1"}]}]}],"products":[{"vendor":"mirbsd","product":"miros"}],"references":[{"url":"http://www.osvdb.org/44365","tags":["vdb-entry","x_refsource_OSVDB","x_transferred","web"]},{"url":"http://www.securityfocus.com/bid/28768","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"http://secunia.com/advisories/29803","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/41794","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"http://www.mirbsd.org/mksh.htm#clog","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-1845"},{"url":"https://github.com/advisories/GHSA-v8fp-2p2f-6r3c"},{"url":"https://security-tracker.debian.org/tracker/CVE-2008-1845","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2008-1845","description":"The Korn shell (aka mksh) before R33d on MirOS (aka MirBSD) does not flush the tty's I/O when invoking mksh in a new terminal, which allows local users to gain privileges by opening a virtual terminal and entering command sequences, which might later be executed in opportunistic circumstances by a different user who launches mksh and specifies that terminal with the -T option.","status":"published","published":"2008-04-16T17:00:00Z","modified":"2024-08-07T08:40:59.416Z","updated_at":"2026-11-02T14:34:47.310062Z"}],"euvd":[{"id":"EUVD-2008-1845","description":"The Korn shell (aka mksh) before R33d on MirOS (aka MirBSD) does not flush the tty's I/O when invoking mksh in a new terminal, which allows local users to gain privileges by opening a virtual terminal and entering command sequences, which might later be executed in opportunistic circumstances by a different user who launches mksh and specifies that terminal with the -T option.","status":"published","published":"2008-04-16T17:00:00Z","modified":"2024-08-07T08:40:59Z","updated_at":"2026-11-03T01:38:59.763671Z"}],"ghsa":[{"id":"GHSA-v8fp-2p2f-6r3c","title":"The Korn shell (aka mksh) before R33d on MirOS (aka MirBSD) does not flush the tty's I/O when...","description":"The Korn shell (aka mksh) before R33d on MirOS (aka MirBSD) does not flush the tty's I/O when invoking mksh in a new terminal, which allows local users to gain privileges by opening a virtual terminal and entering command sequences, which might later be executed in opportunistic circumstances by a different user who launches mksh and specifies that terminal with the -T option.","status":"published","published":"2022-05-01T23:44:09Z","modified":"2023-01-31T05:05:54Z","updated_at":"2026-11-02T14:48:56.250419Z"}],"nvd":[{"id":"CVE-2008-1845","description":"The Korn shell (aka mksh) before R33d on MirOS (aka MirBSD) does not flush the tty's I/O when invoking mksh in a new terminal, which allows local users to gain privileges by opening a virtual terminal and entering command sequences, which might later be executed in opportunistic circumstances by a different user who launches mksh and specifies that terminal with the -T option.","status":"published","published":"2008-04-16T17:05:00Z","modified":"2026-06-16T22:52:37.12Z","cvss":[{"version":"2.0","score":7.2,"vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"updated_at":"2026-11-02T14:01:26.27008Z"}],"osv":[{"id":"CVE-2008-1845","description":"The Korn shell (aka mksh) before R33d on MirOS (aka MirBSD) does not flush the tty's I/O when invoking mksh in a new terminal, which allows local users to gain privileges by opening a virtual terminal and entering command sequences, which might later be executed in opportunistic circumstances by a different user who launches mksh and specifies that terminal with the -T option.","status":"published","published":"2008-04-16T17:05:00Z","modified":"2026-04-10T03:39:49.512591Z","updated_at":"2026-11-02T15:43:57.178433Z"},{"id":"DEBIAN-CVE-2008-1845","description":"The Korn shell (aka mksh) before R33d on MirOS (aka MirBSD) does not flush the tty's I/O when invoking mksh in a new terminal, which allows local users to gain privileges by opening a virtual terminal and entering command sequences, which might later be executed in opportunistic circumstances by a different user who launches mksh and specifies that terminal with the -T option.","status":"published","published":"2008-04-16T17:05:00Z","modified":"2026-10-23T17:47:51.402109732Z","updated_at":"2026-11-02T15:45:23.742363Z"}]}}
