OESA-2022-1629

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2022-1629
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2022-1629.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2022-1629
Upstream
Published
2022-05-11T11:03:43Z
Modified
2025-08-12T05:11:28.488055Z
Summary
gzip security update
Details

gzip is a single-file/stream lossless data compression utility, where the resulting compressed file generally has the suffix .gz.

Security Fix(es):

The vulnerability exists due to insufficient validation when handling filenames with two or more newlines. A remote attacker can force zgrep or xzgrep to write arbitrary files on the system. The vulnerability allows a remote attacker to compromise an affected system.(CVE-2022-1271)

Database specific
{
    "severity": "High"
}
References

Affected packages

openEuler:20.03-LTS-SP1 / gzip

Package

Name
gzip
Purl
pkg:rpm/openEuler/gzip&distro=openEuler-20.03-LTS-SP1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.10-3.oe1

Ecosystem specific

{
    "aarch64": [
        "gzip-1.10-3.oe1.aarch64.rpm",
        "gzip-debuginfo-1.10-3.oe1.aarch64.rpm",
        "gzip-debugsource-1.10-3.oe1.aarch64.rpm"
    ],
    "x86_64": [
        "gzip-1.10-3.oe1.x86_64.rpm",
        "gzip-debuginfo-1.10-3.oe1.x86_64.rpm",
        "gzip-debugsource-1.10-3.oe1.x86_64.rpm"
    ],
    "src": [
        "gzip-1.10-3.oe1.src.rpm"
    ],
    "noarch": [
        "gzip-help-1.10-3.oe1.noarch.rpm"
    ]
}

openEuler:20.03-LTS-SP3 / gzip

Package

Name
gzip
Purl
pkg:rpm/openEuler/gzip&distro=openEuler-20.03-LTS-SP3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.10-3.oe1

Ecosystem specific

{
    "aarch64": [
        "gzip-1.10-3.oe1.aarch64.rpm",
        "gzip-debuginfo-1.10-3.oe1.aarch64.rpm",
        "gzip-debugsource-1.10-3.oe1.aarch64.rpm"
    ],
    "x86_64": [
        "gzip-1.10-3.oe1.x86_64.rpm",
        "gzip-debuginfo-1.10-3.oe1.x86_64.rpm",
        "gzip-debugsource-1.10-3.oe1.x86_64.rpm"
    ],
    "src": [
        "gzip-1.10-3.oe1.src.rpm"
    ],
    "noarch": [
        "gzip-help-1.10-3.oe1.noarch.rpm"
    ]
}

openEuler:22.03-LTS / gzip

Package

Name
gzip
Purl
pkg:rpm/openEuler/gzip&distro=openEuler-22.03-LTS

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.11-3.oe2203

Ecosystem specific

{
    "aarch64": [
        "gzip-1.11-3.oe2203.aarch64.rpm",
        "gzip-debuginfo-1.11-3.oe2203.aarch64.rpm",
        "gzip-debugsource-1.11-3.oe2203.aarch64.rpm"
    ],
    "x86_64": [
        "gzip-1.11-3.oe2203.x86_64.rpm",
        "gzip-debuginfo-1.11-3.oe2203.x86_64.rpm",
        "gzip-debugsource-1.11-3.oe2203.x86_64.rpm"
    ],
    "src": [
        "gzip-1.11-3.oe2203.src.rpm"
    ],
    "noarch": [
        "gzip-help-1.11-3.oe2203.noarch.rpm"
    ]
}