UBUNTU-CVE-2023-40481

Source
https://ubuntu.com/security/CVE-2023-40481
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-40481.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2023-40481
Related
Published
2024-05-03T03:15:00Z
Modified
2024-10-15T14:11:43Z
Summary
[none]
Details

7-Zip SquashFS File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of 7-Zip. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the parsing of SQFS files. The issue results from the lack of proper validation of user-supplied data, which can result in a write past the end of an allocated buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-18589.

References

Affected packages

Ubuntu:22.04:LTS / 7zip

Package

Name
7zip
Purl
pkg:deb/ubuntu/7zip?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

21.*

21.03~beta+dfsg-6
21.04~beta+dfsg-1
21.06+dfsg-1
21.07+dfsg-1
21.07+dfsg-2
21.07+dfsg-3
21.07+dfsg-4

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / 7zip

Package

Name
7zip
Purl
pkg:deb/ubuntu/7zip?arch=src?distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
23.01+dfsg-3

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "23.01+dfsg-3",
            "binary_name": "7zip"
        },
        {
            "binary_version": "23.01+dfsg-3",
            "binary_name": "7zip-dbgsym"
        }
    ]
}