CVE-2024-47076

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-47076
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-47076.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-47076
Downstream
Related
Published
2024-09-26T21:18:22Z
Modified
2025-10-16T16:30:55.879790Z
Severity
  • 8.6 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N CVSS Calculator
Summary
libcupsfilters's cfGetPrinterAttributes5 does not validate IPP attributes returned from an IPP server
Details

CUPS is a standards-based, open-source printing system, and libcupsfilters contains the code of the filters of the former cups-filters package as library functions to be used for the data format conversion tasks needed in Printer Applications. The cfGetPrinterAttributes5 function in libcupsfilters does not sanitize IPP attributes returned from an IPP server. When these IPP attributes are used, for instance, to generate a PPD file, this can lead to attacker controlled data to be provided to the rest of the CUPS system.

References

Affected packages

Git / github.com/openprinting/libcupsfilters

Affected ranges

Type
GIT
Repo
https://github.com/openprinting/libcupsfilters
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

2.*

2.0.0
2.0b1
2.0b2
2.0b3
2.0b4
2.0rc1
2.0rc2
2.1b1

Database specific

vanir_signatures

[
    {
        "signature_type": "Line",
        "id": "CVE-2024-47076-1f7f608d",
        "source": "https://github.com/openprinting/libcupsfilters/commit/95576ec3d20c109332d14672a807353cdc551018",
        "signature_version": "v1",
        "target": {
            "file": "cupsfilters/ipp.c"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "161359513121773949907926455193830173566",
                "154108727522163752832459989576150002054",
                "303212411057175221772250729228838139471",
                "10013934268424892536252883675686381330"
            ]
        },
        "deprecated": false
    }
]

Git / github.com/openprinting/libcupsfilters

Affected ranges

Type
GIT
Repo
https://github.com/openprinting/libppd
Events
Introduced
0 Unknown introduced commit / All previous commits are affected

Git / github.com/openprinting/libcupsfilters

Affected ranges

Type
GIT
Repo
https://github.com/openprinting/cups-filters
Events
Introduced
0 Unknown introduced commit / All previous commits are affected

Git / github.com/openprinting/libcupsfilters

Affected ranges