CVE-2022-34970

Source
https://cve.org/CVERecord?id=CVE-2022-34970
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-34970.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-34970
Published
2022-08-04T18:39:06Z
Modified
2026-07-22T02:07:27.822987Z
Summary
[none]
Details

Crow before 1.0+4 has a heap-based buffer overflow via the function qsparse in querystring.h. On successful exploitation this vulnerability allows attackers to remotely execute arbitrary code in the context of the vulnerable service.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/34xxx/CVE-2022-34970.json",
    "cna_assigner": "mitre"
}
References

Affected packages

Git / github.com/crowcpp/crow

Affected ranges

Type
GIT
Repo
https://github.com/crowcpp/crow
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "cpe": "cpe:2.3:a:crowcpp:crow:*:*:*:*:*:*:*:*",
    "source": [
        "DESCRIPTION",
        "CPE_RANGE",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "1.0+4"
        },
        {
            "fixed": "1.0\\+4"
        }
    ]
}

Affected versions

0.*
0.2
v0.*
v0.1
v0.3
v1.*
v1.0
v1.0+1
v1.0+2
v1.0+3

Database specific

vanir_signatures_modified
"2026-07-22T02:07:27Z"
vanir_signatures
[
    {
        "signature_type": "Function",
        "target": {
            "file": "include/crow/query_string.h",
            "function": "qs_parse"
        },
        "deprecated": false,
        "source": "https://github.com/crowcpp/crow/commit/62dae4cc32229e372bb81c0a20c19f2727345e71",
        "id": "CVE-2022-34970-6073f16d",
        "signature_version": "v1",
        "digest": {
            "function_hash": "336938383434325191902643563944787926562",
            "length": 657.0
        }
    },
    {
        "signature_type": "Line",
        "target": {
            "file": "include/crow/query_string.h"
        },
        "deprecated": false,
        "source": "https://github.com/crowcpp/crow/commit/62dae4cc32229e372bb81c0a20c19f2727345e71",
        "id": "CVE-2022-34970-cfd24717",
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "181069325050730614390994020731278716795",
                "102873384906716306407912897727626310214",
                "88213764132756482993718457627673947381",
                "156651280475791468279827093503004407029",
                "169940499544219386184258702819157697858",
                "159203152154726909533663750365906025093",
                "275499987689425730698452471984301144009",
                "278970894955859571642790026944179829431"
            ],
            "threshold": 0.9
        }
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-34970.json"