Incorrect Permission Assignment for Critical Resource Affecting apr package, versions [0.9.0,1.7.5)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-APR-7833825
  • published27 Aug 2024
  • disclosed26 Aug 2024
  • creditThomas Stangner

Introduced: 26 Aug 2024

CVE-2023-49582  (opens in a new tab)
CWE-732  (opens in a new tab)

How to fix?

Upgrade apr to version 1.7.5 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Permission Assignment for Critical Resource in the form of shared named memory segments having 0644 permissions by default, in shm.c. This is only exploitable on Unix platforms

Workaround

This vulnerability can be avoided by building with APR_USE_SHMEM_SHMGET=1 in apr.h.

CVSS Scores

version 4.0
version 3.1