MGASA-2024-0327

Source
https://advisories.mageia.org/MGASA-2024-0327.html
Import Source
https://advisories.mageia.org/MGASA-2024-0327.json
JSON Data
https://api.test.osv.dev/v1/vulns/MGASA-2024-0327
Related
Published
2024-10-07T17:39:29Z
Modified
2024-10-07T16:57:58Z
Summary
Updated cups & cups-filters packages fix security vulnerabilities
Details

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. (CVE-2024-47076) The libppd function ppdCreatePPDFromIPP2 does not sanitize IPP attributes when creating the PPD buffer. When used in combination with other functions such as cfGetPrinterAttributes5, can result in user controlled input and ultimately code execution via Foomatic. This vulnerability can be part of an exploit chain leading to remote code execution (RCE), as described in CVE-2024-47176. (CVE-2024-47175) cups-browsed binds to INADDR_ANY:631, causing it to trust any packet from any source, and can cause the Get-Printer-Attributes IPP request to an attacker controlled URL. When combined with other vulnerabilities, such as CVE-2024-47076, CVE-2024-47175, and CVE-2024-47177, an attacker can execute arbitrary commands remotely on the target machine without authentication when a malicious printer is printed to. (CVE-2024-47176) Any value passed to FoomaticRIPCommandLine via a PPD file will be executed as a user controlled command. When combined with other logic bugs as described in CVE_2024-47176, this can lead to remote command execution. (CVE-2024-47177)

References
Credits

Affected packages

Mageia:9 / cups

Package

Name
cups
Purl
pkg:rpm/mageia/cups?distro=mageia-9

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.4.6-1.3.mga9

Ecosystem specific

{
    "section": "core"
}

Mageia:9 / cups-filters

Package

Name
cups-filters
Purl
pkg:rpm/mageia/cups-filters?distro=mageia-9

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.28.16-6.1.mga9

Ecosystem specific

{
    "section": "core"
}