U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

Vulnerability Change Records for CVE-2024-24575

Change History

New CVE Received from GitHub, Inc. 2/06/2024 5:16:15 PM

Action Type Old Value New Value
Added Description

								
							
							
						
libgit2 is a portable C implementation of the Git core methods provided as a linkable library with a solid API, allowing to build Git functionality into your application. Using well-crafted inputs to `git_revparse_single` can cause the function to enter an infinite loop, potentially causing a Denial of Service attack in the calling application. The revparse function in `src/libgit2/revparse.c` uses a loop to parse the user-provided spec string. There is an edge-case during parsing that allows a bad actor to force the loop conditions to access arbitrary memory. Potentially, this could also leak memory if the extracted rev spec is reflected back to the attacker. As such, libgit2 versions before 1.4.0 are not affected. Users should upgrade to version 1.6.5 or 1.7.2.
Added CVSS V3.1

								
							
							
						
GitHub, Inc. AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Added CWE

								
							
							
						
GitHub, Inc. CWE-400
Added Reference

								
							
							
						
GitHub, Inc. https://github.com/libgit2/libgit2/commit/add2dabb3c16aa49b33904dcdc07cd915efc12fa [No types assigned]
Added Reference

								
							
							
						
GitHub, Inc. https://github.com/libgit2/libgit2/releases/tag/v1.6.5 [No types assigned]
Added Reference

								
							
							
						
GitHub, Inc. https://github.com/libgit2/libgit2/releases/tag/v1.7.2 [No types assigned]
Added Reference

								
							
							
						
GitHub, Inc. https://github.com/libgit2/libgit2/security/advisories/GHSA-54mf-x2rh-hq9v [No types assigned]