CVE-2022-40299 json
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 u…
published 4y ago modified 3mo ago also EUVD-2022-43596 , JLSEC-2026-289
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 27%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- julia Singular_jll 403.201.0+0
- singular singular 4.3.1
Is CVE-2022-40299 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-40299 updated
Singular: Insecure /tmp usage due to predictable paths
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.34% chance of exploitation in the next 30 days, higher than 27% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/Singular/Singular/issues/1137 referenced PoC, tagged "exploit" by a source, unverified
- michael.orlitzky.com http://michael.orlitzky.com/cves/cve-2022-40299.xhtml referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| julia | Singular_jll | <403.201.0+0 |
403.201.0+0 |
Classification
- Weakness
-
- CWE-330 Use of Insufficiently Random Values
References
-
github.com
/Singular/Singular/commit/5f28fbf066626fa9c4a8f0e6408c0bb362fb386c
patch, third-party-advisory, web
-
github.com
/Singular/Singular/issues/1137
exploit, issue-tracking, patch, third-party-advisory, web
-
michael.orlitzky.com
/cves/cve-2022-40299.xhtml
exploit, third-party-advisory, web
Sources
- CVE List CVE-2022-40299
- NVD CVE-2022-40299
- OSV JLSEC-2026-289
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.