GHSA-xwc8-rf6m-xr86

Suggest an improvement
Source
https://github.com/advisories/GHSA-xwc8-rf6m-xr86
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/06/GHSA-xwc8-rf6m-xr86/GHSA-xwc8-rf6m-xr86.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-xwc8-rf6m-xr86
Aliases
Published
2023-06-30T21:30:26Z
Modified
2023-11-11T05:31:59.915376Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
hnswlib Double Free vulnerability
Details

Hnswlib 0.7.0 has a double free in init_index when the M argument is a large integer.

Database specific
{
    "nvd_published_at": "2023-06-30T19:15:09Z",
    "cwe_ids": [
        "CWE-415"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2023-06-30T22:12:53Z"
}
References

Affected packages

PyPI / hnswlib

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
0.7.0

Affected versions

0.*

0.3.2.0
0.3.4
0.4.0
0.5.0
0.5.1
0.5.2
0.6.0
0.6.1
0.6.2
0.7.0