{"id":"CVE-2022-40299","aliases":["DEBIAN-CVE-2022-40299","EUVD-2022-43596","GHSA-92qh-jj8j-74cv","JLSEC-2026-289","UBUNTU-CVE-2022-40299"],"status":"published","title":"In Singular before 4.3.1, a predictable /tmp pathname is used (e.g., by sdb.cc), which allows...","description":"In Singular before 4.3.1, a predictable /tmp pathname is used (e.g., by sdb.cc), which allows local users to gain the privileges of other users via a procedure in a file under /tmp. NOTE: this CVE Record is about sdb.cc and similar files in the Singular interface that have predictable /tmp pathnames; this CVE Record is not about the lack of a safe temporary-file creation capability in the Singular language.","severity":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.00339,"percentile":0.27511,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-269","CWE-330"],"published":"2022-09-09T00:18:03Z","modified":"2026-10-28T10:28:02Z","fixes":[{"ecosystem":"Julia","package":"Singular_jll","fixed_in":["403.201.0+0"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"singular","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:4.3.1-p3+ds-2","1:4.3.2+ds-1","1:4.3.2+ds-2","1:4.3.2+ds-3","1:4.3.2-p10+ds-1","1:4.3.2-p10+ds-1.1","1:4.3.2-p10+ds-1.1~exp1","1:4.3.2-p16+ds-1","1:4.3.2-p16+ds-1~exp1","1:4.3.2-p3+ds-1","1:4.3.2-p4+ds-1","1:4.3.2-p7+ds-1","1:4.3.2-p8+ds-1","1:4.3.2-p9+ds-1","1:4.4.0+ds-1","1:4.4.0+ds-2","1:4.4.0+ds-3","1:4.4.0+ds-4","1:4.4.0-p2+ds-1","1:4.4.0-p3+ds-1","1:4.4.0-p5+ds-1","1:4.4.0-p6+ds-1","1:4.4.0-p7+ds-1","1:4.4.0-p8+ds-1","1:4.4.1+ds-1","1:4.4.1+ds-2","1:4.4.1+ds-3","1:4.4.1-p3+ds-1","1:4.4.1-p5+ds-1","1:4.4.1.5+ds-2"]},{"source":"osv","ecosystem":"Debian:13","package":"singular","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:4.4.1+ds-2","1:4.4.1+ds-3","1:4.4.1-p3+ds-1","1:4.4.1-p5+ds-1","1:4.4.1.5+ds-2"]},{"source":"osv","ecosystem":"Debian:14","package":"singular","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:4.4.1+ds-2","1:4.4.1+ds-3","1:4.4.1-p3+ds-1","1:4.4.1-p5+ds-1","1:4.4.1.5+ds-2"]},{"source":"osv","ecosystem":"Julia","package":"Singular_jll","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"403.201.0+0"}]}]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"singular","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.0.2-p2+ds-2","4.0.2-p2+ds-3","4.0.3+ds-1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"singular","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:4.1.0-p3+ds-2","1:4.1.0-p3+ds-2build1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"singular","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:4.1.1-p2+ds-3build1","1:4.1.1-p2+ds-4","1:4.1.1-p2+ds-4build1","1:4.1.1-p2+ds-4build2"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"singular","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:4.1.1-p2+ds-4build3","1:4.2.1-p3+ds-1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"singular","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:4.3.2-p7+ds-1","1:4.3.2-p8+ds-1","1:4.3.2-p10+ds-1","1:4.3.2-p10+ds-1build1","1:4.3.2-p10+ds-1.1","1:4.3.2-p10+ds-1.1build1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"singular","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:4.4.1+ds-2","1:4.4.1-p3+ds-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"singular","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:4.4.1-p5+ds-1build1","1:4.4.1.5+ds-2","1:4.4.1.5+ds-2build1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"singular","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:4.4.1-p3+ds-1","1:4.4.1-p5+ds-1","1:4.4.1-p5+ds-1build1"]}],"products":[{"vendor":"singular","product":"singular"}],"references":[{"url":"https://github.com/Singular/Singular/issues/1137","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Patch","Third Party Advisory","report","web"]},{"url":"https://github.com/Singular/Singular/commit/5f28fbf066626fa9c4a8f0e6408c0bb362fb386c","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web","report"]},{"url":"http://michael.orlitzky.com/cves/cve-2022-40299.xhtml","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-40299","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-92qh-jj8j-74cv"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/40xxx/CVE-2022-40299.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-40299","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-40299","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-40299","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2022-40299","description":"In Singular before 4.3.1, a predictable /tmp pathname is used (e.g., by sdb.cc), which allows local users to gain the privileges of other users via a procedure in a file under /tmp. NOTE: this CVE Record is about sdb.cc and similar files in the Singular interface that have predictable /tmp pathnames; this CVE Record is not about the lack of a safe temporary-file creation capability in the Singular language.","status":"published","published":"2022-09-09T00:18:03Z","modified":"2024-08-03T12:14:40.045Z","updated_at":"2026-11-02T14:34:30.493103Z"}],"euvd":[{"id":"EUVD-2022-43596","description":"In Singular before 4.3.1, a predictable /tmp pathname is used (e.g., by sdb.cc), which allows local users to gain the privileges of other users via a procedure in a file under /tmp. NOTE: this CVE Record is about sdb.cc and similar files in the Singular interface that have predictable /tmp pathnames; this CVE Record is not about the lack of a safe temporary-file creation capability in the Singular language.","status":"published","published":"2022-09-09T00:18:03Z","modified":"2024-08-03T12:14:40Z","updated_at":"2026-11-03T03:25:20.908483Z"}],"ghsa":[{"id":"GHSA-92qh-jj8j-74cv","title":"In Singular before 4.3.1, a predictable /tmp pathname is used (e.g., by sdb.cc), which allows...","description":"In Singular before 4.3.1, a predictable /tmp pathname is used (e.g., by sdb.cc), which allows local users to gain the privileges of other users via a procedure in a file under /tmp. NOTE: this CVE Record is about sdb.cc and similar files in the Singular interface that have predictable /tmp pathnames; this CVE Record is not about the lack of a safe temporary-file creation capability in the Singular language.","status":"published","published":"2022-09-10T00:00:24Z","modified":"2023-01-30T05:07:08Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-269"],"updated_at":"2026-11-02T14:47:38.392867Z"}],"nvd":[{"id":"CVE-2022-40299","description":"In Singular before 4.3.1, a predictable /tmp pathname is used (e.g., by sdb.cc), which allows local users to gain the privileges of other users via a procedure in a file under /tmp. NOTE: this CVE Record is about sdb.cc and similar files in the Singular interface that have predictable /tmp pathnames; this CVE Record is not about the lack of a safe temporary-file creation capability in the Singular language.","status":"published","published":"2022-09-09T01:15:07.853Z","modified":"2026-06-17T05:01:15.883Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-330"],"updated_at":"2026-11-02T14:07:27.631109Z"}],"osv":[{"id":"JLSEC-2026-289","description":"In Singular before 4.3.1, a predictable `/tmp` pathname is used (e.g., by sdb.cc), which allows local users to gain the privileges of other users via a procedure in a file under `/tmp`. NOTE: this CVE Record is about sdb.cc and similar files in the Singular interface that have predictable `/tmp` pathnames; this CVE Record is not about the lack of a safe temporary-file creation capability in the Singular language.","status":"published","published":"2026-04-29T00:30:51.83Z","modified":"2026-07-25T18:24:11.72595515Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:47:18.573531Z"},{"id":"UBUNTU-CVE-2022-40299","description":"In Singular before 4.3.1, a predictable /tmp pathname is used (e.g., by sdb.cc), which allows local users to gain the privileges of other users via a procedure in a file under /tmp. NOTE: this CVE Record is about sdb.cc and similar files in the Singular interface that have predictable /tmp pathnames; this CVE Record is not about the lack of a safe temporary-file creation capability in the Singular language.","status":"published","published":"2022-09-09T01:15:00Z","modified":"2026-10-17T12:55:59.220490189Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T16:53:55.502114Z"},{"id":"CVE-2022-40299","description":"In Singular before 4.3.1, a predictable /tmp pathname is used (e.g., by sdb.cc), which allows local users to gain the privileges of other users via a procedure in a file under /tmp. NOTE: this CVE Record is about sdb.cc and similar files in the Singular interface that have predictable /tmp pathnames; this CVE Record is not about the lack of a safe temporary-file creation capability in the Singular language.","status":"published","published":"2022-09-09T00:18:03Z","modified":"2026-10-28T10:28:02.872096791Z","updated_at":"2026-11-02T15:44:26.860704Z"},{"id":"DEBIAN-CVE-2022-40299","description":"In Singular before 4.3.1, a predictable /tmp pathname is used (e.g., by sdb.cc), which allows local users to gain the privileges of other users via a procedure in a file under /tmp. NOTE: this CVE Record is about sdb.cc and similar files in the Singular interface that have predictable /tmp pathnames; this CVE Record is not about the lack of a safe temporary-file creation capability in the Singular language.","status":"published","published":"2022-09-09T01:15:07.853Z","modified":"2026-11-03T06:02:57.66878688Z","updated_at":"2026-11-03T06:43:19.563245Z"}]}}
