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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | apr | 1.7.5-r0 | ALPINE-CVE-2023-49582 |
| Alpine:v3.21 | apr | 1.7.5-r0 | ALPINE-CVE-2023-49582 |
| Alpine:v3.22 | apr | 1.7.5-r0 | ALPINE-CVE-2023-49582 |
| Alpine:v3.23 | apr | 1.7.5-r0 | ALPINE-CVE-2023-49582 |
| Alpine:v3.24 | apr | 1.7.5-r0 | ALPINE-CVE-2023-49582 |
| Debian:12 | apr | 1.7.2-3+deb12u1 | DEBIAN-CVE-2023-49582 |
| Debian:13 | apr | 1.7.5-1 | DEBIAN-CVE-2023-49582 |
| Debian:14 | apr | 1.7.5-1 | DEBIAN-CVE-2023-49582 |
| Ubuntu:22.04:LTS | apr | 1.7.0-8ubuntu0.22.04.2 | USN-7038-1 |
| Ubuntu:22.04:LTS | apr | 1.7.0-8ubuntu0.22.04.2 | UBUNTU-CVE-2023-49582 |
| Ubuntu:24.04:LTS | apr | 1.7.2-3.1ubuntu0.1 | UBUNTU-CVE-2023-49582 |
| Ubuntu:24.04:LTS | apr | 1.7.2-3.1ubuntu0.1 | USN-7038-1 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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