UBUNTU-CVE-2024-27306

Source
https://ubuntu.com/security/CVE-2024-27306
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-27306.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2024-27306
Upstream
Downstream
Related
Published
2024-04-18T15:15:00Z
Modified
2025-07-18T16:57:22Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. A XSS vulnerability exists on index pages for static file handling. This vulnerability is fixed in 3.9.4. We have always recommended using a reverse proxy server (e.g. nginx) for serving static files. Users following the recommendation are unaffected. Other users can disable show_index if unable to upgrade.

References

Affected packages

Ubuntu:Pro:18.04:LTS / python-aiohttp

Package

Name
python-aiohttp
Purl
pkg:deb/ubuntu/python-aiohttp@3.0.1-1ubuntu0.1~esm5?arch=source&distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.0.1-1ubuntu0.1~esm5

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

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "3.0.1-1ubuntu0.1~esm5",
            "binary_name": "python3-aiohttp"
        },
        {
            "binary_version": "3.0.1-1ubuntu0.1~esm5",
            "binary_name": "python3-aiohttp-dbg"
        }
    ]
}

Ubuntu:Pro:20.04:LTS / python-aiohttp

Package

Name
python-aiohttp
Purl
pkg:deb/ubuntu/python-aiohttp@3.6.2-1ubuntu1+esm4?arch=source&distro=esm-apps/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.6.2-1ubuntu1+esm4

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-1ubuntu0.1~esm1
3.6.2-1ubuntu1
3.6.2-1ubuntu1+esm1
3.6.2-1ubuntu1+esm3

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "3.6.2-1ubuntu1+esm4",
            "binary_name": "python3-aiohttp"
        },
        {
            "binary_version": "3.6.2-1ubuntu1+esm4",
            "binary_name": "python3-aiohttp-dbg"
        }
    ]
}

Ubuntu:22.04:LTS / python-aiohttp

Package

Name
python-aiohttp
Purl
pkg:deb/ubuntu/python-aiohttp@3.8.1-4ubuntu0.2?arch=source&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

Ubuntu:Pro:22.04:LTS / python-aiohttp

Package

Name
python-aiohttp
Purl
pkg:deb/ubuntu/python-aiohttp@3.8.1-4ubuntu0.2+esm1?arch=source&distro=esm-apps/jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.8.1-4ubuntu0.2+esm1

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

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "3.8.1-4ubuntu0.2+esm1",
            "binary_name": "python-aiohttp-doc"
        },
        {
            "binary_version": "3.8.1-4ubuntu0.2+esm1",
            "binary_name": "python3-aiohttp"
        },
        {
            "binary_version": "3.8.1-4ubuntu0.2+esm1",
            "binary_name": "python3-aiohttp-dbgsym"
        }
    ]
}

Ubuntu:24.04:LTS / python-aiohttp

Package

Name
python-aiohttp
Purl
pkg:deb/ubuntu/python-aiohttp@3.9.1-1ubuntu0.1?arch=source&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

Ubuntu:Pro:24.04:LTS / python-aiohttp

Package

Name
python-aiohttp
Purl
pkg:deb/ubuntu/python-aiohttp@3.9.1-1ubuntu0.1+esm1?arch=source&distro=esm-apps/noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.9.1-1ubuntu0.1+esm1

Affected versions

3.*

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

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "3.9.1-1ubuntu0.1+esm1",
            "binary_name": "python-aiohttp-doc"
        },
        {
            "binary_version": "3.9.1-1ubuntu0.1+esm1",
            "binary_name": "python3-aiohttp"
        },
        {
            "binary_version": "3.9.1-1ubuntu0.1+esm1",
            "binary_name": "python3-aiohttp-dbgsym"
        }
    ]
}