CVE-2024-28871

Source
https://cve.org/CVERecord?id=CVE-2024-28871
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-28871.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-28871
Aliases
  • GHSA-ffr2-45w9-7wmg
Downstream
Related
Published
2024-04-04T14:46:02Z
Modified
2026-08-18T16:55:35Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Excessive CPU used on malformed traffic
Details

LibHTP is a security-aware parser for the HTTP protocol and the related bits and pieces. Version 0.5.46 may parse malformed request traffic, leading to excessive CPU usage. Version 0.5.47 contains a patch for the issue. No known workarounds are available.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-770"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/28xxx/CVE-2024-28871.json"
}
References

Affected packages

Git / github.com/oisf/libhtp

Affected ranges

Type
GIT
Repo
https://github.com/oisf/libhtp
Events
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:oisf:libhtp:0.5.46:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "0.5.46"
        },
        {
            "last_affected":  "0.5.46"
        }
    ],
    "source":  [
        "CPE_STRING",
        "REFERENCES"
    ]
}

Affected versions

0.*
0.5.46
= 0.*
= 0.5.46

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-28871.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "318172770935594959350941458745435307763",
                "135239512933602376594045183615727728699",
                "131700058990156315402314416600437322377",
                "277994319879901349994914593103939313737"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2024-28871-3ed3ea6c",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/oisf/libhtp/commit/bf618ec7f243cebfb0f7e84c3cb158955cb32b4d",
        "target":  {
            "file":  "test/test_main.cpp"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "148640750141087490866965115654957542471",
            "length":  354
        },
        "id":  "CVE-2024-28871-42916d96",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/oisf/libhtp/commit/bf618ec7f243cebfb0f7e84c3cb158955cb32b4d",
        "target":  {
            "file":  "test/test_main.cpp",
            "function":  "TEST_F"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "267359046665290570769923342758498273095",
                "303551294191400035276263804370023306921",
                "119839181945903624091477649627408790864",
                "161212438092718958504047245052704100794",
                "150200054387931348240854522730784242602",
                "207265992600273278446008837170369875565",
                "94233397943067680948929258014963379952",
                "177308729534991442599318098923060054484",
                "147060639569616060088023905671536173844",
                "74451318637906718655269567190115454574",
                "9565752617086491266711890594113080014",
                "257183742756321029938664592568116238449",
                "163640541665630402471706784285028629",
                "327832901355841139650099125053069665217",
                "298221389295221802504942701590661372085"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2024-28871-5f9a7a33",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/oisf/libhtp/commit/bf618ec7f243cebfb0f7e84c3cb158955cb32b4d",
        "target":  {
            "file":  "htp/htp_request.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "42034569953756389800674741515598562518",
            "length":  831
        },
        "id":  "CVE-2024-28871-7dd59a4d",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/oisf/libhtp/commit/bf618ec7f243cebfb0f7e84c3cb158955cb32b4d",
        "target":  {
            "file":  "htp/htp_request.c",
            "function":  "htp_connp_REQ_PROTOCOL"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "95637582145441255099356536547643312592",
                "333900088229275590911659748714286076450",
                "8454795577934572553614158912081326655",
                "191311367888664726230033400384834979527",
                "112210799653626215415237819877808219944",
                "13577766479804612625814208397369322814"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2024-28871-8e57cbe7",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/oisf/libhtp/commit/79e713f3e527593a45f545e854cd9e6fbb3cd3ed",
        "target":  {
            "file":  "htp/htp_request.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "328982955666812072197670577542706072245",
            "length":  669
        },
        "id":  "CVE-2024-28871-ce4b023f",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/oisf/libhtp/commit/79e713f3e527593a45f545e854cd9e6fbb3cd3ed",
        "target":  {
            "file":  "htp/htp_request.c",
            "function":  "htp_connp_REQ_PROTOCOL"
        }
    }
]
vanir_signatures_modified
"2026-08-18T16:55:35Z"