GNU C Library getaddrinfo.c free_and_return memory leak

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.7$0-$5k0.00

Summaryinfo

A vulnerability was found in GNU C Library. It has been classified as problematic. This affects the function free_and_return of the file sysdeps/posix/getaddrinfo.c. This manipulation causes memory leak. The identification of this vulnerability is CVE-2023-5156. It is possible to initiate the attack remotely. There is no exploit available. To fix this issue, it is recommended to deploy a patch.

Detailsinfo

A vulnerability has been found in GNU C Library (Software Library) (unknown version) and classified as problematic. Affected by this vulnerability is the function free_and_return of the file sysdeps/posix/getaddrinfo.c. The manipulation with an unknown input leads to a memory leak vulnerability. The CWE definition for the vulnerability is CWE-401. The product does not sufficiently track and release allocated memory after it has been used, which slowly consumes remaining memory. As an impact it is known to affect availability.

The weakness was shared 09/25/2023. It is possible to read the advisory at sourceware.org. This vulnerability is known as CVE-2023-5156. Technical details of the vulnerability are known, but there is no available exploit. The attack technique deployed by this issue is T1499 according to MITRE ATT&CK.

The vulnerability scanner Nessus provides a plugin with the ID 215876 (Azure Linux 3.0 Security Update: glibc (CVE-2023-5156)), which helps to determine the existence of the flaw in a target environment.

Applying a patch is able to eliminate this problem. The bugfix is ready for download at sourceware.org.

The vulnerability is also documented in the vulnerability database at Tenable (215876). Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Productinfo

Type

Vendor

Name

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.8
VulDB Meta Temp Score: 6.7

VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 7.5
NVD Vector: 🔍

CNA Base Score: 7.5
CNA Vector (Red Hat, Inc.): 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Memory leak
CWE: CWE-401 / CWE-404
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 215876
Nessus Name: Azure Linux 3.0 Security Update: glibc (CVE-2023-5156)

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔍

Patch: ec6b95c3303c700eb89eebeda2d7264cc184a796

Timelineinfo

09/25/2023 🔍
09/25/2023 +0 days 🔍
09/25/2023 +0 days 🔍
02/12/2025 +505 days 🔍

Sourcesinfo

Vendor: gnu.org

Advisory: sourceware.org
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2023-5156 (🔍)
GCVE (CVE): GCVE-0-2023-5156
GCVE (VulDB): GCVE-100-240259

Entryinfo

Created: 09/25/2023 10:25
Updated: 02/12/2025 00:29
Changes: 09/25/2023 10:25 (40), 10/05/2023 13:42 (1), 10/14/2023 21:49 (3), 10/14/2023 22:03 (21), 09/14/2024 06:45 (20), 02/12/2025 00:29 (2)
Complete: 🔍
Cache ID: 216::103

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!