Upstream information

CVE-2024-42367 at MITRE

Description

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.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having moderate severity.

CVSS v3 Scores
  SUSE
Base Score 4.8
Vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Attack Vector Network
Attack Complexity High
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality Impact Low
Integrity Impact Low
Availability Impact None
CVSSv3 Version 3.1
CVSS v4 Scores
  SUSE
Base Score 6.3
Vector CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Attack Vector Network
Attack Complexity Low
Attack Requirements Present
Privileges Required None
User Interaction None
Vulnerable System Confidentiality Impact Low
Vulnerable System Integrity Impact Low
Vulnerable System Availability Impact None
Subsequent System Confidentiality Impact None
Subsequent System Integrity Impact None
Subsequent System Availability Impact None
CVSSv4 Version 4.0
SUSE Bugzilla entry: 1229226 [RESOLVED / FIXED]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
Image SLES15-SP4-SAP-BYOS
Image SLES15-SP4-SAP-BYOS-Azure
Image SLES15-SP4-SAP-Hardened
Image SLES15-SP4-SAP-Hardened-Azure
Image SLES15-SP4-SAP-Hardened-BYOS
Image SLES15-SP4-SAP-Hardened-BYOS-Azure
Image SLES15-SP5-Azure-Basic
Image SLES15-SP5-Azure-Standard
Image SLES15-SP5-BYOS-Azure
Image SLES15-SP5-HPC-Azure
Image SLES15-SP5-HPC-BYOS-Azure
Image SLES15-SP5-Hardened-BYOS-Azure
Image SLES15-SP5-SAP-BYOS-Azure
Image SLES15-SP5-SAP-Hardened-Azure
Image SLES15-SP5-SAP-Hardened-BYOS-Azure
Image SLES15-SP5-SAPCAL-Azure
Image SLES15-SP6-Azure-Basic
Image SLES15-SP6-Azure-Standard
Image SLES15-SP6-BYOS
Image SLES15-SP6-BYOS-Azure
Image SLES15-SP6-HPC
Image SLES15-SP6-HPC-Azure
Image SLES15-SP6-HPC-BYOS
Image SLES15-SP6-HPC-BYOS-Azure
Image SLES15-SP6-Hardened-BYOS
Image SLES15-SP6-Hardened-BYOS-Azure
Image SLES15-SP6-SAP-Azure
Image SLES15-SP6-SAP-BYOS
Image SLES15-SP6-SAP-BYOS-Azure
Image SLES15-SP6-SAP-Hardened
Image SLES15-SP6-SAP-Hardened-Azure
Image SLES15-SP6-SAP-Hardened-BYOS
Image SLES15-SP6-SAP-Hardened-BYOS-Azure
Image SLES15-SP6-SAPCAL-Azure
  • python311-aiohttp >= 3.9.3-150400.10.24.1
SUSE Linux Enterprise Desktop 15 SP5
SUSE Linux Enterprise High Performance Computing 15 SP5
SUSE Linux Enterprise Module for Python 3 15 SP5
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server for SAP Applications 15 SP5
  • python311-aiohttp >= 3.9.3-150400.10.24.1
Patchnames:
SUSE-SLE-Module-Python3-15-SP5-2024-3110
SUSE Linux Enterprise Desktop 15 SP6
SUSE Linux Enterprise High Performance Computing 15 SP6
SUSE Linux Enterprise Module for Python 3 15 SP6
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server for SAP Applications 15 SP6
  • python311-aiohttp >= 3.9.3-150400.10.24.1
Patchnames:
SUSE-SLE-Module-Python3-15-SP6-2024-3110
SUSE Linux Enterprise High Performance Computing 15 SP4
SUSE Linux Enterprise Module for Public Cloud 15 SP4
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server for SAP Applications 15 SP4
SUSE Manager Proxy 4.3
SUSE Manager Retail Branch Server 4.3
SUSE Manager Server 4.3
  • python311-aiohttp >= 3.9.3-150400.10.24.1
Patchnames:
SUSE-SLE-Module-Public-Cloud-15-SP4-2024-3110
openSUSE Leap 15.5
  • python311-aiohttp >= 3.9.3-150400.10.24.1
Patchnames:
openSUSE-SLE-15.5-2024-3110
openSUSE Leap 15.6
  • python311-aiohttp >= 3.9.3-150400.10.24.1
Patchnames:
openSUSE-SLE-15.6-2024-3110
openSUSE Tumbleweed
  • python310-aiohttp >= 3.10.5-1.1
  • python311-aiohttp >= 3.10.5-1.1
  • python312-aiohttp >= 3.10.5-1.1
Patchnames:
openSUSE-Tumbleweed-2024-14280


First public cloud image revisions this CVE is fixed in:


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SUSE Linux Enterprise Desktop 15 SP5 python-aiohttp Released
SUSE Linux Enterprise Desktop 15 SP6 python-aiohttp Released
SUSE Linux Enterprise High Performance Computing 15 SP5 python-aiohttp Released
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS python-aiohttp Affected
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS python-aiohttp Released
SUSE Linux Enterprise High Performance Computing 15 SP6 python-aiohttp Released
SUSE Linux Enterprise Module for Public Cloud 15 SP5 python-aiohttp Not affected
SUSE Linux Enterprise Module for Public Cloud 15 SP6 python-aiohttp Not affected
SUSE Linux Enterprise Module for Python 3 15 SP5 python-aiohttp Released
SUSE Linux Enterprise Module for Python 3 15 SP6 python-aiohttp Released
SUSE Linux Enterprise Server 15 SP5 python-aiohttp Released
SUSE Linux Enterprise Server 15 SP5-LTSS python-aiohttp Released
SUSE Linux Enterprise Server 15 SP6 python-aiohttp Released
SUSE Linux Enterprise Server for SAP Applications 15 SP5 python-aiohttp Released
SUSE Linux Enterprise Server for SAP Applications 15 SP6 python-aiohttp Released
SUSE Manager Proxy 4.3 python-aiohttp Released
SUSE Manager Retail Branch Server 4.3 python-aiohttp Released
SUSE Manager Server 4.3 python-aiohttp Released
openSUSE Leap 15.5 python-aiohttp Not affected
openSUSE Leap 15.6 python-aiohttp Released
Products under Long Term Service Pack support and receiving important and critical security fixes.
SUSE Linux Enterprise Desktop 15 SP4 python-aiohttp Affected
SUSE Linux Enterprise High Performance Computing 15 SP2 python-aiohttp Not affected
SUSE Linux Enterprise High Performance Computing 15 SP3 python-aiohttp Not affected
SUSE Linux Enterprise High Performance Computing 15 SP4 python-aiohttp Released
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS python-aiohttp Affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS python-aiohttp Affected
SUSE Linux Enterprise Module for Public Cloud 15 SP4 python-aiohttp Released
SUSE Linux Enterprise Module for Python 3 15 SP4 python-aiohttp Affected
SUSE Linux Enterprise Server 15 SP2 python-aiohttp Not affected
SUSE Linux Enterprise Server 15 SP3 python-aiohttp Not affected
SUSE Linux Enterprise Server 15 SP4 python-aiohttp Released
SUSE Linux Enterprise Server 15 SP4-LTSS python-aiohttp Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP2 python-aiohttp Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP3 python-aiohttp Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP4 python-aiohttp Released
Products past their end of life and not receiving proactive updates anymore.
SUSE Enterprise Storage 6 python-aiohttp Not affected
SUSE Enterprise Storage 7 python-aiohttp Not affected
SUSE Enterprise Storage 7.1 python-aiohttp Not affected
SUSE Linux Enterprise High Performance Computing 15 SP1 python-aiohttp Not affected
SUSE Linux Enterprise Module for Public Cloud 15 SP1 python-aiohttp Not affected
SUSE Linux Enterprise Module for Public Cloud 15 SP2 python-aiohttp Not affected
SUSE Linux Enterprise Module for Public Cloud 15 SP3 python-aiohttp Not affected
SUSE Linux Enterprise Server 15 SP1 python-aiohttp Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP1 python-aiohttp Not affected
SUSE Manager Proxy 4.0 python-aiohttp Not affected
SUSE Manager Proxy 4.1 python-aiohttp Not affected
SUSE Manager Proxy 4.2 python-aiohttp Not affected
SUSE Manager Retail Branch Server 4.0 python-aiohttp Not affected
SUSE Manager Retail Branch Server 4.1 python-aiohttp Not affected
SUSE Manager Retail Branch Server 4.2 python-aiohttp Not affected
SUSE Manager Server 4.0 python-aiohttp Not affected
SUSE Manager Server 4.1 python-aiohttp Not affected
SUSE Manager Server 4.2 python-aiohttp Not affected
openSUSE Leap 15.3 python-aiohttp Not affected
openSUSE Leap 15.4 python-aiohttp Released


SUSE Timeline for this CVE

CVE page created: Thu Aug 15 20:03:31 2024
CVE page last modified: Sat Dec 21 00:24:48 2024