CVE-2020-35517

Source
https://nvd.nist.gov/vuln/detail/CVE-2020-35517
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-35517.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-35517
Downstream
Related
Published
2021-01-28T20:15:12Z
Modified
2025-10-14T17:55:46.164998Z
Severity
  • 8.2 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

A flaw was found in qemu. A host privilege escalation issue was found in the virtio-fs shared file system daemon where a privileged guest user is able to create a device special file in the shared directory and use it to r/w access host devices.

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
Fixed

Affected versions

v0.*

v0.1.0
v0.1.1
v0.1.3
v0.1.4
v0.1.5
v0.1.6
v0.11.0-rc0
v0.12.0-rc0
v0.13.0-rc0
v0.14.0-rc0
v0.15.0-rc0
v0.2.0
v0.3.0
v0.4.0
v0.4.1
v0.4.2
v0.4.3
v0.4.4
v0.5.0

v1.*

v1.0
v1.0-rc0
v1.0-rc1
v1.0-rc2
v1.0-rc3
v1.0-rc4
v1.1-rc0
v1.1-rc1
v1.1-rc2
v1.1.0
v1.1.0-rc2
v1.1.0-rc3
v1.1.0-rc4
v1.2.0
v1.2.0-rc0
v1.2.0-rc1
v1.2.0-rc2
v1.2.0-rc3
v1.3.0
v1.3.0-rc0
v1.3.0-rc1
v1.3.0-rc2
v1.4.0
v1.4.0-rc0
v1.4.0-rc1
v1.4.0-rc2
v1.5.0
v1.5.0-rc0
v1.5.0-rc1
v1.5.0-rc2
v1.5.0-rc3
v1.6.0
v1.6.0-rc0
v1.6.0-rc1
v1.6.0-rc2
v1.6.0-rc3
v1.7.0
v1.7.0-rc0
v1.7.0-rc1
v1.7.0-rc2

v2.*

v2.0.0
v2.0.0-rc0
v2.0.0-rc1
v2.0.0-rc2
v2.0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v4.1.0
v4.1.0-rc0
v4.1.0-rc1
v4.1.0-rc2
v4.1.0-rc3
v4.1.0-rc4
v4.1.0-rc5
v4.2.0
v4.2.0-rc0
v4.2.0-rc1
v4.2.0-rc2
v4.2.0-rc3
v4.2.0-rc4
v4.2.0-rc5

v5.*

v5.0.0
v5.0.0-rc0
v5.0.0-rc1
v5.0.0-rc2
v5.0.0-rc3
v5.0.0-rc4
v5.1.0
v5.1.0-rc0
v5.1.0-rc1
v5.1.0-rc2
v5.1.0-rc3

Database specific

{
    "vanir_signatures": [
        {
            "id": "CVE-2020-35517-13be68d5",
            "signature_type": "Line",
            "target": {
                "file": "tools/virtiofsd/passthrough_ll.c"
            },
            "signature_version": "v1",
            "digest": {
                "line_hashes": [
                    "249749509298499509584371485767556501466",
                    "12711853182023023152205651908599103558",
                    "315258729476991449674869043710353997190",
                    "204019443791831233187732787701240963246",
                    "170281510680235729371742125984515929753",
                    "164659170381731676902561706733556640937",
                    "232319948962351838979387671832972659832",
                    "305079778107006734855590619604593284998",
                    "39305894112754925740096762295168641077",
                    "276082376246000913282875299855255613144",
                    "328343706111384061994435901361595455341",
                    "219949455046928206170238000331014219943",
                    "334406337309450458704185951770503366463",
                    "293021897631797332104993338272819609744",
                    "252115674339640699162879098670850943968",
                    "228219910060695848906093012538773541096",
                    "87754294341068678992578734537544486060",
                    "160818454510647963155754149517232177224",
                    "151192488196935969072428520761013750325",
                    "123848594727535638370897045815574337890",
                    "308896583069880168843792207651436176354",
                    "59516531585813507903925809805615056773",
                    "292321622711020180722545376535975169506",
                    "43572313762544356283118112557704711241",
                    "88010914881750275784855363694378048531",
                    "8486564251605823966445302371346450272",
                    "46847805536993130047683615076577617922",
                    "252675941779889596571296404674957564794",
                    "137994728785694869779579950183260600928",
                    "238561854233320159021238617870068070754"
                ],
                "threshold": 0.9
            },
            "deprecated": false,
            "source": "https://github.com/qemu/qemu/commit/ebf101955ce8f8d72fba103b5151115a4335de2c"
        },
        {
            "id": "CVE-2020-35517-8c795e23",
            "signature_type": "Function",
            "target": {
                "file": "tools/virtiofsd/passthrough_ll.c",
                "function": "setup_namespaces"
            },
            "signature_version": "v1",
            "digest": {
                "length": 1732.0,
                "function_hash": "190598348096459599034904182258331633617"
            },
            "deprecated": false,
            "source": "https://github.com/qemu/qemu/commit/ebf101955ce8f8d72fba103b5151115a4335de2c"
        }
    ]
}