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

Medium 5.5 Published Updated

Local attackers can read sensitive data from shared memory segments due to lax permissions in the Apache Portable Runtime library on Unix systems.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-49582?

CVE-2023-49582 is a medium-severity vulnerability in Apache Portable Runtime (APR), published on 26 Aug 2024. It can only be exploited from the same machine or local network, with no action from the victim.

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.

Weakness: CWE-732

Which versions are affected by CVE-2023-49582?

1 open source package ship an affected version, including apr. It affects 1 product.

PackageAffectedFixed in
apr BitnamiFrom 0.9.01.7.5
Linux distribution packages (8)
apr SUSE:Linux Enterprise Module for Basesystem 15 SP5All versions1.6.3-150000.3.6.1
apr SUSE:Linux Enterprise Module for Basesystem 15 SP6All versions1.6.3-150000.3.6.1
libapr1 SUSE:Linux Enterprise Server 12 SP5All versions1.5.1-4.8.1
libapr1 SUSE:Linux Enterprise Server for SAP Applications 12 SP5All versions1.5.1-4.8.1
libapr1 SUSE:Linux Enterprise Software Development Kit 12 SP5All versions1.5.1-4.8.1
apr openSUSE:Leap 15.5All versions1.6.3-150000.3.6.1
apr openSUSE:Leap 15.6All versions1.6.3-150000.3.6.1
apr openSUSE:TumbleweedAll versions1.7.5-1.1

Products include Apache Portable Runtime.

How do I fix CVE-2023-49582?

Upgrade apr to 1.7.5 or later.

Is CVE-2023-49582 being exploited?

There is no known exploitation of CVE-2023-49582 in the wild and no public exploit code.

Sources

Also known as ALPINE-CVE-2023-49582, AZL-48216, AZL-48273, BELL-CVE-2023-49582, BIT-apr-2023-49582, DEBIAN-CVE-2023-49582 and 10 more.

Is CVE-2023-49582 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free