Vulnerability Details : CVE-2022-0699
Potential exploit
A double-free condition exists in contrib/shpsort.c of shapelib 1.5.0 and older releases. This issue may allow an attacker to cause a denial of service or have other unspecified impact via control over malloc.
Vulnerability category: Memory CorruptionDenial of service
Products affected by CVE-2022-0699
- cpe:2.3:a:osgeo:shapelib:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-0699
0.25%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 64 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-0699
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST |
CWE ids for CVE-2022-0699
-
The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations.Assigned by: nvd@nist.gov (Primary)
-
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.Assigned by: patrick@puiterwijk.org (Secondary)
References for CVE-2022-0699
-
https://github.com/OSGeo/shapelib/issues/39
Double-free vulnerability in contrib/shpsort.c · Issue #39 · OSGeo/shapelib · GitHubExploit;Issue Tracking;Third Party Advisory
-
https://github.com/OSGeo/shapelib/commit/c75b9281a5b9452d92e1682bdfe6019a13ed819f
Remove double free() in contrib/shpsrt, issue #39 · OSGeo/shapelib@c75b928 · GitHubPatch;Third Party Advisory
Jump to