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

Eric Covener <[email protected]> Mon, 26 Aug 2024 13:49:02 +0000
Newsgroups gmane.comp.apache.apr.devel
Message-ID <[email protected]>
Severity: moderate

Affected versions:

- Apache Portable Runtime (APR) 0.9.0 through 1.7.4

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.

Credit:

Thomas Stangner (reporter)

References:

https://apr.apache.org/
https://www.cve.org/CVERecord?id=CVE-2023-49582

Timeline:

2023-02-08: Discussion on public mailing list https://lists.apache.org/thread/h5f1c2dqm8bf5yfosw3rg85927p612l0
2023-11-15: Reported to security team