Vulnerability · Published Aug 26, 2024 · Assigned by apache

CVE-2023-49582Apache Portable Runtime (APR): Unexpected lax shared memory permissions

Medium 5.5

In plain English

A medium-severity incorrect permission assignment in Apache Portable Runtime (APR) from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 27% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.5Medium
Exploit odds (30 days)0.3%top 73.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Lax permissions set by the Apache Portable Runtime library on Unix platforms would allow local users read access to named shared memory segments, potentially revealing sensitive application data. This issue does not affect non-Unix platforms, or builds with APR_USE_SHMEM_SHMGET=1 (apr.h) Users are recommended to upgrade to APR version 1.7.5, which fixes this issue.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20apr1.7.5-r0ALPINE-CVE-2023-49582
Alpine:v3.21apr1.7.5-r0ALPINE-CVE-2023-49582
Alpine:v3.22apr1.7.5-r0ALPINE-CVE-2023-49582
Alpine:v3.23apr1.7.5-r0ALPINE-CVE-2023-49582
Alpine:v3.24apr1.7.5-r0ALPINE-CVE-2023-49582
Debian:12apr1.7.2-3+deb12u1DEBIAN-CVE-2023-49582
Debian:13apr1.7.5-1DEBIAN-CVE-2023-49582
Debian:14apr1.7.5-1DEBIAN-CVE-2023-49582
Ubuntu:22.04:LTSapr1.7.0-8ubuntu0.22.04.2USN-7038-1
Ubuntu:22.04:LTSapr1.7.0-8ubuntu0.22.04.2UBUNTU-CVE-2023-49582
Ubuntu:24.04:LTSapr1.7.2-3.1ubuntu0.1UBUNTU-CVE-2023-49582
Ubuntu:24.04:LTSapr1.7.2-3.1ubuntu0.1USN-7038-1

Affected products (as reported)

VendorProductVersions
Apache Software Foundation Apache Portable Runtime (APR) 0.9.0 – through 1.7.4

Weakness: CWE-732 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

References