Vulnerability Details : CVE-2022-0699
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
Exploit prediction scoring system (EPSS) score for CVE-2022-0699
Probability of exploitation activity in the next 30 days: 0.16%
Percentile, the proportion of vulnerabilities that are scored at or less: ~ 52 % EPSS Score History EPSS FAQ
CVSS scores for CVE-2022-0699
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Source |
---|---|---|---|---|---|
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
|
nvd@nist.gov |
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)
-
Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code.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
Products affected by CVE-2022-0699
- cpe:2.3:a:osgeo:shapelib:*:*:*:*:*:*:*:*