Skip to content
Heist/ feed
Back to feed
High

singular — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-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.

Products
singular
Affected 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
Fixed versions
Not specified
CVEs
CVE-2022-40299
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 14:58 UTC · Revision 1

Source evidence

DEBIAN-CVE-2022-40299

core-osv · Original source

Published 9 Sept 2022, 01:15 UTC

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.

osv:DEBIAN-CVE-2022-40299

singular

Fixed versions: Not specified

singular

Fixed versions: Not specified

singular

Fixed versions: Not specified

Complete source record
{
  "id": "fba29fa61afbf5a6acd9b9566c0e56dae5a4a37794f3c118c44b538b7884b5b9",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2022-40299",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2022-40299",
    "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.",
    "evidence": "osv:DEBIAN-CVE-2022-40299",
    "products": [
      {
        "name": {
          "value": "singular",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1:4.3.1-p3+ds-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1:4.3.2+ds-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1:4.3.2+ds-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1:4.3.2+ds-3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1:4.3.2-p10+ds-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1:4.3.2-p10+ds-1.1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1:4.3.2-p10+ds-1.1~exp1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1:4.3.2-p16+ds-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1:4.3.2-p16+ds-1~exp1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1:4.3.2-p3+ds-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1:4.3.2-p4+ds-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1:4.3.2-p7+ds-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1:4.3.2-p8+ds-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1:4.3.2-p9+ds-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1:4.4.0+ds-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1:4.4.0+ds-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1:4.4.0+ds-3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1:4.4.0+ds-4",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1:4.4.0-p2+ds-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1:4.4.0-p3+ds-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1:4.4.0-p5+ds-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1:4.4.0-p6+ds-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1:4.4.0-p7+ds-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1:4.4.0-p8+ds-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1:4.4.1+ds-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1:4.4.1+ds-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1:4.4.1+ds-3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1:4.4.1-p3+ds-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1:4.4.1-p5+ds-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1:4.4.1.5+ds-2",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "singular",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1:4.4.1+ds-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1:4.4.1+ds-3",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1:4.4.1-p3+ds-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1:4.4.1-p5+ds-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1:4.4.1.5+ds-2",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "singular",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1:4.4.1+ds-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1:4.4.1+ds-3",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1:4.4.1-p3+ds-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1:4.4.1-p5+ds-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1:4.4.1.5+ds-2",
            "evidence": "/affected/2/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2022-40299",
      "aliases": [
        "DEBIAN-CVE-2022-40299"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "singular",
            "purl": "pkg:deb/debian/singular?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "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"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-40299.json"
          },
          "ecosystem_specific": {
            "urgency": "unimportant"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "singular",
            "purl": "pkg:deb/debian/singular?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "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"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-40299.json"
          },
          "ecosystem_specific": {
            "urgency": "unimportant"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "singular",
            "purl": "pkg:deb/debian/singular?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "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"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-40299.json"
          },
          "ecosystem_specific": {
            "urgency": "unimportant"
          }
        }
      ],
      "modified": "2026-10-15T08:02:41.227094417Z",
      "provider": "osv",
      "upstream": [
        "CVE-2022-40299"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2022-40299"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2022-40299",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 323967,
  "published_at": "2022-09-09T01:15:07.853+00:00"
}