CVE-2020-7039

Source
https://nvd.nist.gov/vuln/detail/CVE-2020-7039
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-7039.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-7039
Downstream
Related
Published
2020-01-16T23:15:12Z
Modified
2025-10-21T05:56:02.093505Z
Severity
  • 5.6 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
Summary
[none]
Details

tcpemu in tcpsubr.c in libslirp 4.1.0, as used in QEMU 4.2.0, mismanages memory, as demonstrated by IRC DCC commands in EMU_IRC. This can cause a heap-based buffer overflow or other out-of-bounds access which can lead to a DoS or potential execute arbitrary code.

References

Affected packages

Git / github.com/qemu/qemu

Affected ranges

Type
GIT
Repo
https://github.com/qemu/qemu
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Type
GIT
Repo
https://github.com/spring-projects/spring-framework
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Type
GIT
Repo
https://gitlab.freedesktop.org/slirp/libslirp
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Fixed

Affected versions

Other

release_0_10_0
release_0_10_1
release_0_10_2
release_0_6_0
release_0_6_1
release_0_7_0
release_0_7_1
release_0_8_1
release_0_8_2
release_0_9_0
release_0_9_1

v0.*

v0.10.0
v0.10.1
v0.10.2
v0.10.3
v0.10.4
v0.10.5
v0.10.6
v0.11.0-rc0
v0.12.0
v0.12.0-rc0
v0.12.0-rc1
v0.12.0-rc2
v0.12.1
v0.13.0
v0.13.0-rc0
v0.13.0-rc1
v0.13.0-rc2
v0.13.0-rc3
v0.14.0-rc0
v0.14.0-rc1
v0.15.0
v0.15.0-rc0
v0.15.0-rc1
v0.15.0-rc2
v0.15.1
v0.6.0
v0.6.1
v0.7.0
v0.7.1
v0.8.1
v0.8.2
v0.9.0
v0.9.1

v1.*

v1.0
v1.0-rc0
v1.0-rc1
v1.0-rc2
v1.0-rc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2.5.0-rc0
v2.5.0-rc1
v2.5.0-rc2
v2.5.0-rc3
v2.5.0-rc4
v2.5.1
v2.5.1.1
v2.6.0
v2.6.0-rc0
v2.6.0-rc1
v2.6.0-rc2
v2.6.0-rc3
v2.6.0-rc4
v2.6.0-rc5
v2.7.0
v2.7.0-rc0
v2.7.0-rc1
v2.7.0-rc2
v2.7.0-rc3
v2.7.0-rc4
v2.7.0-rc5
v2.8.0
v2.8.0-rc0
v2.8.0-rc1
v2.8.0-rc2
v2.8.0-rc3
v2.8.0-rc4
v2.8.1
v2.8.1.1
v2.9.0
v2.9.0-rc0
v2.9.0-rc1
v2.9.0-rc2
v2.9.0-rc3
v2.9.0-rc4
v2.9.0-rc5

v3.*

v3.0.0
v3.0.0-rc0
v3.0.0-rc1
v3.0.0-rc2
v3.0.0-rc3
v3.0.0-rc4
v3.1.0
v3.1.0-rc0
v3.1.0-rc1
v3.1.0-rc2
v3.1.0-rc3
v3.1.0-rc4
v3.1.0-rc5

v4.*

v4.0.0
v4.0.0-rc0
v4.1.0

Database specific

vanir_signatures

[
    {
        "source": "https://gitlab.freedesktop.org/slirp/libslirp@82ebe9c370a0e2970fb5695aa19aa5214a6a1c80",
        "signature_version": "v1",
        "target": {
            "file": "src/tcp_subr.c",
            "function": "tcp_emu"
        },
        "digest": {
            "length": 6641.0,
            "function_hash": "16394558136358550035582286927942919055"
        },
        "deprecated": false,
        "signature_type": "Function",
        "id": "CVE-2020-7039-6b9a8895"
    },
    {
        "source": "https://gitlab.freedesktop.org/slirp/libslirp@2655fffed7a9e765bcb4701dd876e9dab975f289",
        "signature_version": "v1",
        "target": {
            "file": "src/tcp_subr.c",
            "function": "tcp_emu"
        },
        "digest": {
            "length": 6508.0,
            "function_hash": "140651076775259481436786107058209110775"
        },
        "deprecated": false,
        "signature_type": "Function",
        "id": "CVE-2020-7039-ab5b2a67"
    },
    {
        "source": "https://gitlab.freedesktop.org/slirp/libslirp@2655fffed7a9e765bcb4701dd876e9dab975f289",
        "signature_version": "v1",
        "target": {
            "file": "src/tcp_subr.c"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "15140320714121997435057219044735030567",
                "156375986140405105978356906120087512541",
                "316338764136262695171768734962189969112",
                "244401903337416974613622709277191320620",
                "241036784587630143944011798907199304443",
                "142282155878608727980020123582809939206",
                "32139479471153033922636960518668746078"
            ]
        },
        "deprecated": false,
        "signature_type": "Line",
        "id": "CVE-2020-7039-b7d4660f"
    }
]