USN-7041-1

Source
https://ubuntu.com/security/notices/USN-7041-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7041-1.json
JSON Data
https://api.osv.dev/v1/vulns/USN-7041-1
Upstream
Related
Published
2024-09-26T20:12:01.038520Z
Modified
2025-10-13T04:38:40Z
Summary
cups vulnerability
Details

Simone Margaritelli discovered that CUPS incorrectly sanitized IPP data when creating PPD files. A remote attacker could possibly use this issue to manipulate PPD files and execute arbitrary code when a printer is used.

References

Affected packages

Ubuntu:20.04:LTS / cups

Package

Name
cups
Purl
pkg:deb/ubuntu/cups@2.3.1-9ubuntu1.9?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.3.1-9ubuntu1.9

Affected versions

2.*

2.2.12-2ubuntu1
2.3.0-6
2.3.0-7
2.3.0-7ubuntu1
2.3.1-1ubuntu1
2.3.1-2
2.3.1-4
2.3.1-7
2.3.1-9ubuntu1
2.3.1-9ubuntu1.1
2.3.1-9ubuntu1.2
2.3.1-9ubuntu1.3
2.3.1-9ubuntu1.4
2.3.1-9ubuntu1.5
2.3.1-9ubuntu1.6
2.3.1-9ubuntu1.7
2.3.1-9ubuntu1.8

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_name": "cups",
            "binary_version": "2.3.1-9ubuntu1.9"
        },
        {
            "binary_name": "cups-bsd",
            "binary_version": "2.3.1-9ubuntu1.9"
        },
        {
            "binary_name": "cups-client",
            "binary_version": "2.3.1-9ubuntu1.9"
        },
        {
            "binary_name": "cups-common",
            "binary_version": "2.3.1-9ubuntu1.9"
        },
        {
            "binary_name": "cups-core-drivers",
            "binary_version": "2.3.1-9ubuntu1.9"
        },
        {
            "binary_name": "cups-daemon",
            "binary_version": "2.3.1-9ubuntu1.9"
        },
        {
            "binary_name": "cups-ipp-utils",
            "binary_version": "2.3.1-9ubuntu1.9"
        },
        {
            "binary_name": "cups-ppdc",
            "binary_version": "2.3.1-9ubuntu1.9"
        },
        {
            "binary_name": "cups-server-common",
            "binary_version": "2.3.1-9ubuntu1.9"
        },
        {
            "binary_name": "libcups2",
            "binary_version": "2.3.1-9ubuntu1.9"
        },
        {
            "binary_name": "libcups2-dev",
            "binary_version": "2.3.1-9ubuntu1.9"
        },
        {
            "binary_name": "libcupsimage2",
            "binary_version": "2.3.1-9ubuntu1.9"
        },
        {
            "binary_name": "libcupsimage2-dev",
            "binary_version": "2.3.1-9ubuntu1.9"
        }
    ]
}

Database specific

{
    "cves_map": {
        "cves": [
            {
                "severity": [
                    {
                        "type": "CVSS_V3",
                        "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N"
                    },
                    {
                        "type": "CVSS_V3",
                        "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                    },
                    {
                        "type": "Ubuntu",
                        "score": "medium"
                    }
                ],
                "id": "CVE-2024-47175"
            }
        ],
        "ecosystem": "Ubuntu:20.04:LTS"
    }
}

Ubuntu:22.04:LTS / cups

Package

Name
cups
Purl
pkg:deb/ubuntu/cups@2.4.1op1-1ubuntu4.11?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.4.1op1-1ubuntu4.11

Affected versions

2.*

2.3.3op2-7ubuntu2
2.4.1op1-1ubuntu1
2.4.1op1-1ubuntu2
2.4.1op1-1ubuntu3
2.4.1op1-1ubuntu4
2.4.1op1-1ubuntu4.1
2.4.1op1-1ubuntu4.2
2.4.1op1-1ubuntu4.4
2.4.1op1-1ubuntu4.6
2.4.1op1-1ubuntu4.7
2.4.1op1-1ubuntu4.8
2.4.1op1-1ubuntu4.9
2.4.1op1-1ubuntu4.10

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_name": "cups",
            "binary_version": "2.4.1op1-1ubuntu4.11"
        },
        {
            "binary_name": "cups-bsd",
            "binary_version": "2.4.1op1-1ubuntu4.11"
        },
        {
            "binary_name": "cups-client",
            "binary_version": "2.4.1op1-1ubuntu4.11"
        },
        {
            "binary_name": "cups-common",
            "binary_version": "2.4.1op1-1ubuntu4.11"
        },
        {
            "binary_name": "cups-core-drivers",
            "binary_version": "2.4.1op1-1ubuntu4.11"
        },
        {
            "binary_name": "cups-daemon",
            "binary_version": "2.4.1op1-1ubuntu4.11"
        },
        {
            "binary_name": "cups-ipp-utils",
            "binary_version": "2.4.1op1-1ubuntu4.11"
        },
        {
            "binary_name": "cups-ppdc",
            "binary_version": "2.4.1op1-1ubuntu4.11"
        },
        {
            "binary_name": "cups-server-common",
            "binary_version": "2.4.1op1-1ubuntu4.11"
        },
        {
            "binary_name": "libcups2",
            "binary_version": "2.4.1op1-1ubuntu4.11"
        },
        {
            "binary_name": "libcups2-dev",
            "binary_version": "2.4.1op1-1ubuntu4.11"
        },
        {
            "binary_name": "libcupsimage2",
            "binary_version": "2.4.1op1-1ubuntu4.11"
        },
        {
            "binary_name": "libcupsimage2-dev",
            "binary_version": "2.4.1op1-1ubuntu4.11"
        }
    ]
}

Database specific

{
    "cves_map": {
        "cves": [
            {
                "severity": [
                    {
                        "type": "CVSS_V3",
                        "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N"
                    },
                    {
                        "type": "CVSS_V3",
                        "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                    },
                    {
                        "type": "Ubuntu",
                        "score": "medium"
                    }
                ],
                "id": "CVE-2024-47175"
            }
        ],
        "ecosystem": "Ubuntu:22.04:LTS"
    }
}

Ubuntu:24.04:LTS / cups

Package

Name
cups
Purl
pkg:deb/ubuntu/cups@2.4.7-1.2ubuntu7.3?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.4.7-1.2ubuntu7.3

Affected versions

2.*

2.4.6-0ubuntu3
2.4.7-1.2ubuntu2
2.4.7-1.2ubuntu3
2.4.7-1.2ubuntu7
2.4.7-1.2ubuntu7.1
2.4.7-1.2ubuntu7.2

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_name": "cups",
            "binary_version": "2.4.7-1.2ubuntu7.3"
        },
        {
            "binary_name": "cups-bsd",
            "binary_version": "2.4.7-1.2ubuntu7.3"
        },
        {
            "binary_name": "cups-client",
            "binary_version": "2.4.7-1.2ubuntu7.3"
        },
        {
            "binary_name": "cups-common",
            "binary_version": "2.4.7-1.2ubuntu7.3"
        },
        {
            "binary_name": "cups-core-drivers",
            "binary_version": "2.4.7-1.2ubuntu7.3"
        },
        {
            "binary_name": "cups-daemon",
            "binary_version": "2.4.7-1.2ubuntu7.3"
        },
        {
            "binary_name": "cups-ipp-utils",
            "binary_version": "2.4.7-1.2ubuntu7.3"
        },
        {
            "binary_name": "cups-ppdc",
            "binary_version": "2.4.7-1.2ubuntu7.3"
        },
        {
            "binary_name": "cups-server-common",
            "binary_version": "2.4.7-1.2ubuntu7.3"
        },
        {
            "binary_name": "libcups2-dev",
            "binary_version": "2.4.7-1.2ubuntu7.3"
        },
        {
            "binary_name": "libcups2t64",
            "binary_version": "2.4.7-1.2ubuntu7.3"
        },
        {
            "binary_name": "libcupsimage2-dev",
            "binary_version": "2.4.7-1.2ubuntu7.3"
        },
        {
            "binary_name": "libcupsimage2t64",
            "binary_version": "2.4.7-1.2ubuntu7.3"
        }
    ]
}

Database specific

{
    "cves_map": {
        "cves": [
            {
                "severity": [
                    {
                        "type": "CVSS_V3",
                        "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N"
                    },
                    {
                        "type": "CVSS_V3",
                        "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                    },
                    {
                        "type": "Ubuntu",
                        "score": "medium"
                    }
                ],
                "id": "CVE-2024-47175"
            }
        ],
        "ecosystem": "Ubuntu:24.04:LTS"
    }
}