OSV-2021-503 Use-after-poison in std::__1::unique_ptr<SkSL::Expression, std::__1::default_delete<SkSL::Expression

Not scored Published

A use-after-poison vulnerability in the Skia graphics library allows attackers to cause a crash or potentially execute arbitrary code via crafted input.

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

What is OSV-2021-503?

OSV-2021-503 is an use after free vulnerability in skia, published on 7 Mar 2021.

Official description

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

Crash type: Use-after-poison READ 8
Crash state:
std::__1::unique_ptr&lt;SkSL::Expression, std::__1::default_delete&lt;SkSL::Expression
SkSL::DefinitionMap::getKnownDefinition
SkSL::VariableReference::constantPropagate

Which versions are affected by OSV-2021-503?

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

PackageAffectedFixed in
skia OSS-FuzzAll versionsNone

How do I fix OSV-2021-503?

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

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is OSV-2021-503 being exploited?

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

Sources

Is OSV-2021-503 in your software?

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

Check your SBOMs for free