OSV-2019-1 ASSERT: bufferRemainingSize() >= length.

Not scored Published

An assertion failure in Envoy's HTTP/1 connection handling can cause a crash, leading to denial of service for network services.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is OSV-2019-1?

OSV-2019-1 is a denial of service vulnerability in envoy, published on 29 Mar 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=18431

Crash type: ASSERT
Crash state:
bufferRemainingSize() >= length.
Envoy::Http::Http1::ConnectionImpl::copyToBuffer
Envoy::Http::Http1::RequestStreamEncoderImpl::encodeHeaders

Which versions are affected by OSV-2019-1?

1 open source package ship an affected version, including envoy.

PackageAffectedFixed in
envoy OSS-FuzzAll versionsNone

How do I fix OSV-2019-1?

No fix has been published for OSV-2019-1 yet. Limit exposure of the affected software until one is available.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is OSV-2019-1 being exploited?

There is no known exploitation of OSV-2019-1 in the wild and no public exploit code.

Sources

Is OSV-2019-1 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free