CVE-2022-40299
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.
What to do
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | singular | Fix pending | UBUNTU-CVE-2022-40299 | |
| Ubuntu 26.04 | singular | Under investigation | UBUNTU-CVE-2022-40299 | |
| Ubuntu 25.10 | singular | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2022-40299 | |
| Ubuntu 24.04 | singular | Under investigation | UBUNTU-CVE-2022-40299 | |
| Ubuntu 22.04 | singular | Under investigation | UBUNTU-CVE-2022-40299 | |
| Ubuntu 20.04 | singular | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2022-40299 | |
| Ubuntu 18.04 | singular | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2022-40299 | |
| Ubuntu 16.04 | singular | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2022-40299 | |
| Ubuntu 14.04 | singular | Will not fix Ubuntu decided not to fix this in this release | ||
| Debian 14 | singular | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2022-40299 | |
| Debian 13 | singular | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2022-40299 | |
| Debian 12 | singular | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2022-40299 |
References
- https://github.com/Singular/Singular/issues/1137
- https://github.com/Singular/Singular/commit/5f28fbf066626fa9c4a8f0e6408c0bb362fb386c
- http://michael.orlitzky.com/cves/cve-2022-40299.xhtml
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.