Advisory

GO-2021-0100

Also known as: CVE-2021-20291, GHSA-7qw8-847f-pggm

Summary

Denial of service via deadlock in github.com/containers/storage

Details

Due to a goroutine deadlock, using github.com/containers/storage/pkg/archive.DecompressStream on a xz archive returns a reader which will hang indefinitely when Close is called. An attacker can use this to cause denial of service if they are able to cause the caller to attempt to decompress an archive they control.

Severity

Not rated by the source.

Dates

Published
2021-07-28 18:08 UTC
Modified
2024-05-20 16:03 UTC

Affected packages and fixes

github.com/containers/storage

Go · All systems

Affected

  • introduced 0, fixed 1.28.1 (semver)

Fixed versions

1.28.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences