UBUNTU-CVE-2024-42367

Source
https://ubuntu.com/security/CVE-2024-42367
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-42367.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2024-42367
Related
Published
2024-08-12T13:38:00Z
Modified
2024-10-15T14:16:34Z
Summary
[none]
Details

aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. Prior to version 3.10.2, static routes which contain files with compressed variants (.gz or .br extension) are vulnerable to path traversal outside the root directory if those variants are symbolic links. The server protects static routes from path traversal outside the root directory when follow_symlinks=False (default). It does this by resolving the requested URL to an absolute path and then checking that path relative to the root. However, these checks are not performed when looking for compressed variants in the FileResponse class, and symbolic links are then automatically followed when performing the Path.stat() and Path.open() to send the file. Version 3.10.2 contains a patch for the issue.

References

Affected packages

Ubuntu:Pro:16.04:LTS / python-aiohttp

Package

Name
python-aiohttp
Purl
pkg:deb/ubuntu/python-aiohttp?arch=src?distro=esm-apps/xenial

Affected ranges

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

Affected versions

0.*

0.17.2-1
0.17.4-1
0.17.4-1build1
0.20.2-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:18.04:LTS / python-aiohttp

Package

Name
python-aiohttp
Purl
pkg:deb/ubuntu/python-aiohttp?arch=src?distro=esm-apps/bionic

Affected ranges

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

Affected versions

2.*

2.2.3-1build1
2.2.3-2
2.3.6-1

3.*

3.0.1-1
3.0.1-1ubuntu0.1~esm1
3.0.1-1ubuntu0.1~esm4

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / python-aiohttp

Package

Name
python-aiohttp
Purl
pkg:deb/ubuntu/python-aiohttp?arch=src?distro=focal

Affected ranges

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

Affected versions

3.*

3.5.4-1
3.5.4-1build1
3.6.1-1
3.6.2-1
3.6.2-1build1
3.6.2-1ubuntu1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / python-aiohttp

Package

Name
python-aiohttp
Purl
pkg:deb/ubuntu/python-aiohttp?arch=src?distro=jammy

Affected ranges

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

Affected versions

3.*

3.7.4-1
3.7.4-1build2
3.8.1-3
3.8.1-4
3.8.1-4build1
3.8.1-4ubuntu0.2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / python-aiohttp

Package

Name
python-aiohttp
Purl
pkg:deb/ubuntu/python-aiohttp?arch=src?distro=oracular

Affected ranges

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

Affected versions

3.*

3.9.1-1build1
3.9.5-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / python-aiohttp

Package

Name
python-aiohttp
Purl
pkg:deb/ubuntu/python-aiohttp?arch=src?distro=noble

Affected ranges

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

Affected versions

3.*

3.8.4-1
3.9.1-1
3.9.1-1build1
3.9.1-1ubuntu0.1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}