tryb

Local inspector

TRB-044v1.0.0 · http_invalid_content_length_detected

HTTP invalid content length detected

HTTP invalid content length detected identifies hTTP components can disagree about message framing or header interpretation.

CWE mapping

CWE-444

parser differential

Assurance

The analyzer verified the reported property directly from the supplied input.

Conditional: Operational impact can still depend on where and how this value is used.

Inert example

Displayed as text only. tryb does not execute this example.

POST / HTTP/1.1\r\nContent-Length: 4\r\nContent-Length: 9\r\n\r\ntest

Remediation

inspect-context. The observed property needs destination-specific policy before an automatic rewrite is safe.

Verify: Inspect the actual consumer and encode the intended acceptance rule in a test.

What to verify next

Compare the finding with the destination system's validation and trust policy.

Run the local analyzer