CVEfocus › CVE database › CVE-2023-49582

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

CVSS 5.5 MediumEPSS 0.3% (higher than 21% of CVEs)Published 2024-08-26Updated 2025-03-13Assigner: apache

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.

CWE-732

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

14Fixed
5Fix pending
17Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04aprFixed1.7.2-3.1ubuntu0.1UBUNTU-CVE-2023-49582
Ubuntu 22.04aprFixed1.7.0-8ubuntu0.22.04.2UBUNTU-CVE-2023-49582
Ubuntu 20.04aprFixed1.6.5-1ubuntu1.1UBUNTU-CVE-2023-49582
Ubuntu 18.04aprFix pending1.6.3-2ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2023-49582
Ubuntu 16.04aprFix pending1.5.2-3ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2023-49582
Ubuntu 14.04aprFix pending1.5.0-1ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2023-49582
Debian 14aprFixed1.7.5-1DEBIAN-CVE-2023-49582
Debian 13aprFixed1.7.5-1DEBIAN-CVE-2023-49582
Debian 12aprFixed1.7.2-3+deb12u1DEBIAN-CVE-2023-49582
Red Hat Enterprise Linux 10aprFix pending
Affected
Red Hat Enterprise Linux 10apr-develFix pending
Affected
Red Hat Enterprise Linux 10apr-utilNot affected
Red Hat Enterprise Linux 10apr-util-develNot affected
Red Hat Enterprise Linux 10apr-util-ldapNot affected
Red Hat Enterprise Linux 10apr-util-lmdbNot affected
Red Hat Enterprise Linux 10apr-util-mysqlNot affected
Red Hat Enterprise Linux 10apr-util-odbcNot affected
Red Hat Enterprise Linux 10apr-util-opensslNot affected
Red Hat Enterprise Linux 10apr-util-pgsqlNot affected
Red Hat Enterprise Linux 10apr-util-sqliteNot affected
Red Hat Enterprise Linux 9aprNot affected
Red Hat Enterprise Linux 9apr-develNot affected
Red Hat Enterprise Linux 8aprNot affected
Red Hat Enterprise Linux 8apr-develNot affected
Red Hat Enterprise Linux 7aprNot affected
Red Hat Enterprise Linux 7apr-develNot affected
Red Hat Enterprise Linux 6aprNot affected
Red Hat Enterprise Linux 6apr-develNot affected
Alpine Linux 3.24aprFixed1.7.5-r0ALPINE-CVE-2023-49582
Alpine Linux 3.23aprFixed1.7.5-r0ALPINE-CVE-2023-49582
Alpine Linux 3.22aprFixed1.7.5-r0ALPINE-CVE-2023-49582
Alpine Linux 3.21aprFixed1.7.5-r0ALPINE-CVE-2023-49582
Alpine Linux 3.20aprFixed1.7.5-r0ALPINE-CVE-2023-49582
Alpine Linux 3.19aprFixed1.7.5-r0ALPINE-CVE-2023-49582
Alpine Linux 3.18aprFixed1.7.5-r0ALPINE-CVE-2023-49582
Alpine Linux 3.17aprFixed1.7.5-r0ALPINE-CVE-2023-49582

What the vendor says

As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.