{"id":"DEBIAN-CVE-2022-40299","details":"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.","modified":"2026-09-01T20:04:48.647501348Z","published":"2022-09-09T01:15:07.853Z","upstream":["CVE-2022-40299"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2022-40299"}],"affected":[{"package":{"name":"singular","ecosystem":"Debian:12","purl":"pkg:deb/debian/singular?arch=source&distro=bookworm"},"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"],"ecosystem_specific":{"urgency":"unimportant"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-40299.json"}},{"package":{"name":"singular","ecosystem":"Debian:13","purl":"pkg:deb/debian/singular?arch=source&distro=trixie"},"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"],"ecosystem_specific":{"urgency":"unimportant"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-40299.json"}},{"package":{"name":"singular","ecosystem":"Debian:14","purl":"pkg:deb/debian/singular?arch=source&distro=forky"},"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"],"ecosystem_specific":{"urgency":"unimportant"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-40299.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}