CVE-2023-34188

Source
https://cve.org/CVERecord?id=CVE-2023-34188
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-34188.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-34188
Downstream
Published
2023-06-23T00:00:00Z
Modified
2026-07-22T02:25:08.013667Z
Summary
[none]
Details

The HTTP server in Mongoose before 7.10 accepts requests containing negative Content-Length headers. By sending a single attack payload over TCP, an attacker can cause an infinite loop in which the server continuously reparses that payload, and does not respond to any other requests.

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

Affected packages

Git / github.com/cesanta/mongoose

Affected ranges

Type
GIT
Repo
https://github.com/cesanta/mongoose
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
{
    "cpe": "cpe:2.3:a:cesanta:mongoose:*:*:*:*:*:*:*:*",
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "7.10"
        }
    ]
}

Affected versions

3.*
3.2
3.3
3.4
3.5
3.6
3.7
3.8
4.*
4.0
4.1
5.*
5.0
5.1
5.2
5.3
5.4
5.5
5.5_20140120
5.6
6.*
6.0
6.1
6.10
6.11
6.12
6.13
6.14
6.15
6.16
6.17
6.18
6.2
6.3
6.4
6.5
6.6
6.7
6.9
7.*
7.0
7.1
7.2
7.3
7.4
7.5
7.6
7.7
7.8

Database specific

vanir_signatures_modified
"2026-07-22T02:25:08Z"
vanir_signatures
[
    {
        "signature_type": "Function",
        "target": {
            "file": "mongoose.c",
            "function": "mg_http_parse"
        },
        "deprecated": false,
        "source": "https://github.com/cesanta/mongoose/commit/4663090a8fb036146dfe77718cff612b0101cb0f",
        "id": "CVE-2023-34188-0b5ab165",
        "signature_version": "v1",
        "digest": {
            "function_hash": "22924329069955829796574876128538256974",
            "length": 1849.0
        }
    },
    {
        "signature_type": "Line",
        "target": {
            "file": "test/unit_test.c"
        },
        "deprecated": false,
        "source": "https://github.com/cesanta/mongoose/commit/4663090a8fb036146dfe77718cff612b0101cb0f",
        "id": "CVE-2023-34188-2d87afb1",
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "129576276661233070448620185355840971472",
                "98595833391322836779939114508353504194",
                "184857933725410272994378387566191224185",
                "158528054727880270501243412856776060789"
            ],
            "threshold": 0.9
        }
    },
    {
        "signature_type": "Function",
        "target": {
            "file": "test/unit_test.c",
            "function": "test_http_server"
        },
        "deprecated": false,
        "source": "https://github.com/cesanta/mongoose/commit/4663090a8fb036146dfe77718cff612b0101cb0f",
        "id": "CVE-2023-34188-56b35355",
        "signature_version": "v1",
        "digest": {
            "function_hash": "174471736489639667752347908931053555599",
            "length": 8772.0
        }
    },
    {
        "signature_type": "Line",
        "target": {
            "file": "src/http.c"
        },
        "deprecated": false,
        "source": "https://github.com/cesanta/mongoose/commit/4663090a8fb036146dfe77718cff612b0101cb0f",
        "id": "CVE-2023-34188-6aa83513",
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "336041179814736780083971292354306731754",
                "116630214407399927492574344093172757706",
                "125174433765152709460455876025853153304",
                "157787091326085411331468482148866876748"
            ],
            "threshold": 0.9
        }
    },
    {
        "signature_type": "Function",
        "target": {
            "file": "src/http.c",
            "function": "mg_http_parse"
        },
        "deprecated": false,
        "source": "https://github.com/cesanta/mongoose/commit/4663090a8fb036146dfe77718cff612b0101cb0f",
        "id": "CVE-2023-34188-9c0f860a",
        "signature_version": "v1",
        "digest": {
            "function_hash": "22924329069955829796574876128538256974",
            "length": 1849.0
        }
    },
    {
        "signature_type": "Line",
        "target": {
            "file": "mongoose.c"
        },
        "deprecated": false,
        "source": "https://github.com/cesanta/mongoose/commit/4663090a8fb036146dfe77718cff612b0101cb0f",
        "id": "CVE-2023-34188-f3401c9c",
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "336041179814736780083971292354306731754",
                "116630214407399927492574344093172757706",
                "125174433765152709460455876025853153304",
                "157787091326085411331468482148866876748"
            ],
            "threshold": 0.9
        }
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-34188.json"