CVE-2019-20387

Source
https://nvd.nist.gov/vuln/detail/CVE-2019-20387
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2019-20387.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2019-20387
Downstream
Related
Published
2020-01-21T23:15:13Z
Modified
2025-09-19T10:59:55.997013Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

repodata_schema2id in repodata.c in libsolv before 0.7.6 has a heap-based buffer over-read via a last schema whose length is less than the length of the input schema.

References

Affected packages

Git / github.com/opensuse/libsolv

Affected ranges

Type
GIT
Repo
https://github.com/opensuse/libsolv
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*

0.6.10
0.6.11
0.6.12
0.6.13
0.6.14
0.6.15
0.6.16
0.6.17
0.6.18
0.6.19
0.6.20
0.6.21
0.6.22
0.6.23
0.6.24
0.6.25
0.6.26
0.6.27
0.6.28
0.6.29
0.6.30
0.6.31
0.6.32
0.6.33
0.6.34
0.6.35
0.6.4
0.6.5
0.6.6
0.6.7
0.6.8
0.6.9
0.7.0
0.7.1
0.7.2
0.7.3
0.7.4
0.7.5

Other

BASE-SuSE-Code-12_1-Branch
BASE-SuSE-Code-12_2-Branch
BASE-SuSE-Code-12_3-Branch
BASE-SuSE-Code-13_1-Branch

Database specific

{
    "vanir_signatures": [
        {
            "id": "CVE-2019-20387-14be743e",
            "digest": {
                "length": 1697.0,
                "function_hash": "4899277101288193706485005846420497178"
            },
            "signature_type": "Function",
            "deprecated": false,
            "target": {
                "file": "src/repodata.c",
                "function": "repodata_schema2id"
            },
            "signature_version": "v1",
            "source": "https://github.com/opensuse/libsolv/commit/fdb9c9c03508990e4583046b590c30d958f272da"
        },
        {
            "id": "CVE-2019-20387-2b36464b",
            "digest": {
                "line_hashes": [
                    "272047716795212802441097868574234895908",
                    "37400958923676777071933101271582289650",
                    "265341671384809898946922769719777125133",
                    "53443162342254653955672112058005017995",
                    "278243617184913516167546565061182609866",
                    "23330873008043240081292770275914080789",
                    "260254168737727559623885259626174947827"
                ],
                "threshold": 0.9
            },
            "signature_type": "Line",
            "deprecated": false,
            "target": {
                "file": "src/repodata.c"
            },
            "signature_version": "v1",
            "source": "https://github.com/opensuse/libsolv/commit/fdb9c9c03508990e4583046b590c30d958f272da"
        }
    ]
}