USN-6844-1 (UBUNTU-CVE-2024-35235)

Vulnerability from osv_ubuntu – Published: 2024-06-24 10:11 – Updated: 2026-06-25 10:46 – Source website
VLAI
Summary
cups vulnerability
Details

Rory McNamara discovered that when starting the cupsd server with a Listen configuration item, the cupsd process fails to validate if bind call passed. An attacker could possibly trick cupsd to perform an arbitrary chmod of the provided argument, providing world-writable access to the target.


{
  "affected": [
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2024-35235",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:Pro:16.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "cups",
            "binary_version": "2.1.3-4ubuntu0.11+esm6"
          },
          {
            "binary_name": "cups-bsd",
            "binary_version": "2.1.3-4ubuntu0.11+esm6"
          },
          {
            "binary_name": "cups-client",
            "binary_version": "2.1.3-4ubuntu0.11+esm6"
          },
          {
            "binary_name": "cups-common",
            "binary_version": "2.1.3-4ubuntu0.11+esm6"
          },
          {
            "binary_name": "cups-core-drivers",
            "binary_version": "2.1.3-4ubuntu0.11+esm6"
          },
          {
            "binary_name": "cups-daemon",
            "binary_version": "2.1.3-4ubuntu0.11+esm6"
          },
          {
            "binary_name": "cups-ipp-utils",
            "binary_version": "2.1.3-4ubuntu0.11+esm6"
          },
          {
            "binary_name": "cups-ppdc",
            "binary_version": "2.1.3-4ubuntu0.11+esm6"
          },
          {
            "binary_name": "cups-server-common",
            "binary_version": "2.1.3-4ubuntu0.11+esm6"
          },
          {
            "binary_name": "libcups2",
            "binary_version": "2.1.3-4ubuntu0.11+esm6"
          },
          {
            "binary_name": "libcupscgi1",
            "binary_version": "2.1.3-4ubuntu0.11+esm6"
          },
          {
            "binary_name": "libcupsimage2",
            "binary_version": "2.1.3-4ubuntu0.11+esm6"
          },
          {
            "binary_name": "libcupsmime1",
            "binary_version": "2.1.3-4ubuntu0.11+esm6"
          },
          {
            "binary_name": "libcupsppdc1",
            "binary_version": "2.1.3-4ubuntu0.11+esm6"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "cups",
        "purl": "pkg:deb/ubuntu/cups@2.1.3-4ubuntu0.11+esm6?arch=source\u0026distro=esm-infra/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.1.3-4ubuntu0.11+esm6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.1.0-4ubuntu3",
        "2.1.0-5",
        "2.1.0-6",
        "2.1.0-6ubuntu1",
        "2.1.0-7",
        "2.1.2-1",
        "2.1.2-2",
        "2.1.3-1",
        "2.1.3-1build1",
        "2.1.3-3",
        "2.1.3-4",
        "2.1.3-4ubuntu0.2",
        "2.1.3-4ubuntu0.3",
        "2.1.3-4ubuntu0.4",
        "2.1.3-4ubuntu0.5",
        "2.1.3-4ubuntu0.6",
        "2.1.3-4ubuntu0.7",
        "2.1.3-4ubuntu0.8",
        "2.1.3-4ubuntu0.9",
        "2.1.3-4ubuntu0.10",
        "2.1.3-4ubuntu0.11",
        "2.1.3-4ubuntu0.11+esm1",
        "2.1.3-4ubuntu0.11+esm2",
        "2.1.3-4ubuntu0.11+esm3",
        "2.1.3-4ubuntu0.11+esm4",
        "2.1.3-4ubuntu0.11+esm5"
      ]
    },
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2024-35235",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:Pro:18.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "cups",
            "binary_version": "2.2.7-1ubuntu2.10+esm4"
          },
          {
            "binary_name": "cups-bsd",
            "binary_version": "2.2.7-1ubuntu2.10+esm4"
          },
          {
            "binary_name": "cups-client",
            "binary_version": "2.2.7-1ubuntu2.10+esm4"
          },
          {
            "binary_name": "cups-common",
            "binary_version": "2.2.7-1ubuntu2.10+esm4"
          },
          {
            "binary_name": "cups-core-drivers",
            "binary_version": "2.2.7-1ubuntu2.10+esm4"
          },
          {
            "binary_name": "cups-daemon",
            "binary_version": "2.2.7-1ubuntu2.10+esm4"
          },
          {
            "binary_name": "cups-ipp-utils",
            "binary_version": "2.2.7-1ubuntu2.10+esm4"
          },
          {
            "binary_name": "cups-ppdc",
            "binary_version": "2.2.7-1ubuntu2.10+esm4"
          },
          {
            "binary_name": "cups-server-common",
            "binary_version": "2.2.7-1ubuntu2.10+esm4"
          },
          {
            "binary_name": "libcups2",
            "binary_version": "2.2.7-1ubuntu2.10+esm4"
          },
          {
            "binary_name": "libcupscgi1",
            "binary_version": "2.2.7-1ubuntu2.10+esm4"
          },
          {
            "binary_name": "libcupsimage2",
            "binary_version": "2.2.7-1ubuntu2.10+esm4"
          },
          {
            "binary_name": "libcupsmime1",
            "binary_version": "2.2.7-1ubuntu2.10+esm4"
          },
          {
            "binary_name": "libcupsppdc1",
            "binary_version": "2.2.7-1ubuntu2.10+esm4"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "cups",
        "purl": "pkg:deb/ubuntu/cups@2.2.7-1ubuntu2.10+esm4?arch=source\u0026distro=esm-infra/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.2.7-1ubuntu2.10+esm4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.2.4-7ubuntu2",
        "2.2.5-2",
        "2.2.6-2",
        "2.2.6-3",
        "2.2.6-4",
        "2.2.6-5",
        "2.2.7-1ubuntu1",
        "2.2.7-1ubuntu2",
        "2.2.7-1ubuntu2.1",
        "2.2.7-1ubuntu2.2",
        "2.2.7-1ubuntu2.3",
        "2.2.7-1ubuntu2.4",
        "2.2.7-1ubuntu2.5",
        "2.2.7-1ubuntu2.6",
        "2.2.7-1ubuntu2.7",
        "2.2.7-1ubuntu2.8",
        "2.2.7-1ubuntu2.9",
        "2.2.7-1ubuntu2.10",
        "2.2.7-1ubuntu2.10+esm1",
        "2.2.7-1ubuntu2.10+esm2",
        "2.2.7-1ubuntu2.10+esm3"
      ]
    },
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2024-35235",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:20.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "cups",
            "binary_version": "2.3.1-9ubuntu1.7"
          },
          {
            "binary_name": "cups-bsd",
            "binary_version": "2.3.1-9ubuntu1.7"
          },
          {
            "binary_name": "cups-client",
            "binary_version": "2.3.1-9ubuntu1.7"
          },
          {
            "binary_name": "cups-common",
            "binary_version": "2.3.1-9ubuntu1.7"
          },
          {
            "binary_name": "cups-core-drivers",
            "binary_version": "2.3.1-9ubuntu1.7"
          },
          {
            "binary_name": "cups-daemon",
            "binary_version": "2.3.1-9ubuntu1.7"
          },
          {
            "binary_name": "cups-ipp-utils",
            "binary_version": "2.3.1-9ubuntu1.7"
          },
          {
            "binary_name": "cups-ppdc",
            "binary_version": "2.3.1-9ubuntu1.7"
          },
          {
            "binary_name": "cups-server-common",
            "binary_version": "2.3.1-9ubuntu1.7"
          },
          {
            "binary_name": "libcups2",
            "binary_version": "2.3.1-9ubuntu1.7"
          },
          {
            "binary_name": "libcupsimage2",
            "binary_version": "2.3.1-9ubuntu1.7"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "cups",
        "purl": "pkg:deb/ubuntu/cups@2.3.1-9ubuntu1.7?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.3.1-9ubuntu1.7"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "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"
      ]
    },
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2024-35235",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:22.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "cups",
            "binary_version": "2.4.1op1-1ubuntu4.9"
          },
          {
            "binary_name": "cups-bsd",
            "binary_version": "2.4.1op1-1ubuntu4.9"
          },
          {
            "binary_name": "cups-client",
            "binary_version": "2.4.1op1-1ubuntu4.9"
          },
          {
            "binary_name": "cups-common",
            "binary_version": "2.4.1op1-1ubuntu4.9"
          },
          {
            "binary_name": "cups-core-drivers",
            "binary_version": "2.4.1op1-1ubuntu4.9"
          },
          {
            "binary_name": "cups-daemon",
            "binary_version": "2.4.1op1-1ubuntu4.9"
          },
          {
            "binary_name": "cups-ipp-utils",
            "binary_version": "2.4.1op1-1ubuntu4.9"
          },
          {
            "binary_name": "cups-ppdc",
            "binary_version": "2.4.1op1-1ubuntu4.9"
          },
          {
            "binary_name": "cups-server-common",
            "binary_version": "2.4.1op1-1ubuntu4.9"
          },
          {
            "binary_name": "libcups2",
            "binary_version": "2.4.1op1-1ubuntu4.9"
          },
          {
            "binary_name": "libcupsimage2",
            "binary_version": "2.4.1op1-1ubuntu4.9"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "cups",
        "purl": "pkg:deb/ubuntu/cups@2.4.1op1-1ubuntu4.9?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.4.1op1-1ubuntu4.9"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "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"
      ]
    },
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2024-35235",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:24.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "cups",
            "binary_version": "2.4.7-1.2ubuntu7.1"
          },
          {
            "binary_name": "cups-bsd",
            "binary_version": "2.4.7-1.2ubuntu7.1"
          },
          {
            "binary_name": "cups-client",
            "binary_version": "2.4.7-1.2ubuntu7.1"
          },
          {
            "binary_name": "cups-common",
            "binary_version": "2.4.7-1.2ubuntu7.1"
          },
          {
            "binary_name": "cups-core-drivers",
            "binary_version": "2.4.7-1.2ubuntu7.1"
          },
          {
            "binary_name": "cups-daemon",
            "binary_version": "2.4.7-1.2ubuntu7.1"
          },
          {
            "binary_name": "cups-ipp-utils",
            "binary_version": "2.4.7-1.2ubuntu7.1"
          },
          {
            "binary_name": "cups-ppdc",
            "binary_version": "2.4.7-1.2ubuntu7.1"
          },
          {
            "binary_name": "cups-server-common",
            "binary_version": "2.4.7-1.2ubuntu7.1"
          },
          {
            "binary_name": "libcups2t64",
            "binary_version": "2.4.7-1.2ubuntu7.1"
          },
          {
            "binary_name": "libcupsimage2t64",
            "binary_version": "2.4.7-1.2ubuntu7.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "cups",
        "purl": "pkg:deb/ubuntu/cups@2.4.7-1.2ubuntu7.1?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.4.7-1.2ubuntu7.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.4.6-0ubuntu3",
        "2.4.7-1.2ubuntu2",
        "2.4.7-1.2ubuntu3",
        "2.4.7-1.2ubuntu7"
      ]
    }
  ],
  "aliases": [],
  "details": "Rory McNamara discovered that when starting the cupsd server with a\nListen configuration item, the cupsd process fails to validate if\nbind call passed. An attacker could possibly trick cupsd to perform\nan arbitrary chmod of the provided argument, providing world-writable\naccess to the target.\n",
  "id": "USN-6844-1",
  "modified": "2026-06-25T10:46:24Z",
  "published": "2024-06-24T10:11:08Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-6844-1"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2024-35235"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "summary": "cups vulnerability",
  "upstream": [
    "UBUNTU-CVE-2024-35235"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…