stable

gzip: arbitrary-file-write vulnerability (CVE-2022-1271)

FEDORA-2022-6746dde2a0 created by jamartis 4 years ago for Fedora 35

zgrep applied to a crafted file name with two or more newlines can no longer overwrite an arbitrary, attacker-selected file.

reproducer:

 $ touch foo.gz
 $ echo foo | gzip > "$(printf '|\n;e touch pwned\n#.gz')"
 $ zgrep foo *.gz

(the unfixed version of zgrep creates the file called pwned)

How to install

Updates may require up to 24 hours to propagate to mirrors. If the following command doesn't work, please retry later:

sudo dnf upgrade --refresh --advisory=FEDORA-2022-6746dde2a0

This update has been submitted for testing by jamartis.

4 years ago

This update's test gating status has been changed to 'waiting'.

4 years ago

jamartis edited this update.

4 years ago

This update's test gating status has been changed to 'failed'.

4 years ago

This update's test gating status has been changed to 'passed'.

4 years ago

This update has been pushed to testing.

4 years ago
User Icon filiperosset commented & provided feedback 4 years ago
karma

no regressios noted

User Icon bojan commented & provided feedback 4 years ago
karma

Works.

This update can be pushed to stable now if the maintainer wishes

4 years ago
karma

This update has been submitted for stable by bodhi.

4 years ago

Thanks for testing!

This update has been pushed to stable.

4 years ago
User Icon sumantrom provided feedback 4 years ago
karma

Please log in to add feedback.

Metadata
Type
security
Severity
high
Karma
4
Signed
Content Type
RPM
Test Gating
Autopush Settings
Unstable by Karma
-3
Stable by Karma
3
Stable by Time
14 days
Dates
submitted
4 years ago
in testing
4 years ago
in stable
4 years ago
modified
4 years ago

Automated Test Results