CVE-2023-3180

Source
https://cve.org/CVERecord?id=CVE-2023-3180
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-3180.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-3180
Downstream
Related
Published
2023-08-03T14:31:36.083Z
Modified
2026-07-07T08:52:08.435009932Z
Severity
  • 6.0 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H CVSS Calculator
Summary
Heap buffer overflow in virtio_crypto_sym_op_helper()
Details

A flaw was found in the QEMU virtual crypto device while handling data encryption/decryption requests in virtiocryptohandlesymreq. There is no check for the value of src_len and dst_len in virtiocryptosymophelper, potentially leading to a heap buffer overflow when the two values differ.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/3xxx/CVE-2023-3180.json",
    "cna_assigner": "redhat",
    "cwe_ids": [
        "CWE-122"
    ]
}
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
Introduced
Database specific
{
    "cpe": [
        "cpe:2.3:a:qemu:qemu:*:*:*:*:*:*:*:*",
        "cpe:2.3:a:qemu:qemu:8.1.0:rc0:*:*:*:*:*:*",
        "cpe:2.3:a:qemu:qemu:8.1.0:rc1:*:*:*:*:*:*",
        "cpe:2.3:a:qemu:qemu:8.1.0:rc2:*:*:*:*:*:*"
    ],
    "source": [
        "CPE_RANGE",
        "CPE_STRING"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "8.1.0"
        },
        {
            "introduced": "8.1.0-rc0"
        },
        {
            "last_affected": "8.1.0-rc0"
        },
        {
            "introduced": "8.1.0-rc1"
        },
        {
            "last_affected": "8.1.0-rc1"
        },
        {
            "introduced": "8.1.0-rc2"
        },
        {
            "last_affected": "8.1.0-rc2"
        }
    ]
}

Affected versions

8.*
8.1.0-rc0
8.1.0-rc1
8.1.0-rc2
v8.*
v8.1.0-rc0
v8.1.0-rc1
v8.1.0-rc2
v8.1.0-rc3
v8.1.0-rc4

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-3180.json"

Git / gitlab.com/qemu-project/qemu

Affected ranges

Type
GIT
Repo
https://gitlab.com/qemu-project/qemu
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Introduced
Database specific
{
    "cpe": [
        "cpe:2.3:a:qemu:qemu:*:*:*:*:*:*:*:*",
        "cpe:2.3:a:qemu:qemu:8.1.0:rc0:*:*:*:*:*:*",
        "cpe:2.3:a:qemu:qemu:8.1.0:rc1:*:*:*:*:*:*",
        "cpe:2.3:a:qemu:qemu:8.1.0:rc2:*:*:*:*:*:*"
    ],
    "source": [
        "CPE_RANGE",
        "CPE_STRING"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "8.1.0"
        },
        {
            "introduced": "8.1.0-rc0"
        },
        {
            "last_affected": "8.1.0-rc0"
        },
        {
            "introduced": "8.1.0-rc1"
        },
        {
            "last_affected": "8.1.0-rc1"
        },
        {
            "introduced": "8.1.0-rc2"
        },
        {
            "last_affected": "8.1.0-rc2"
        }
    ]
}

Affected versions

8.*
8.1.0-rc0
8.1.0-rc1
8.1.0-rc2
v8.*
v8.1.0-rc0
v8.1.0-rc1
v8.1.0-rc2
v8.1.0-rc3
v8.1.0-rc4

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-3180.json"