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-08-12T13:01:06.556388Z
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
{
    "cna_assigner": "mitre",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/34xxx/CVE-2022-34970.json"
}
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
Show details
{
    "source": [
        "DESCRIPTION",
        "CPE_RANGE",
        "REFERENCES"
    ],
    "cpe": "cpe:2.3:a:crowcpp:crow:*:*:*:*:*:*:*:*",
    "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

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