SUSE-SU-2022:1548-1

Source
https://www.suse.com/support/update/announcement/2022/suse-su-20221548-1/
Import Source
https://ftp.suse.com/pub/projects/security/osv/SUSE-SU-2022:1548-1.json
JSON Data
https://api.osv.dev/v1/vulns/SUSE-SU-2022:1548-1
Related
Published
2022-05-05T14:45:44Z
Modified
2022-05-05T14:45:44Z
Summary
Security update for tar
Details

This update for tar fixes the following issues:

  • CVE-2021-20193: Fixed a memory leak in read_header() in list.c (bsc#1181131).
  • CVE-2019-9923: Fixed a null-pointer dereference in paxdecodeheader in sparse.c (bsc#1130496).
  • CVE-2018-20482: Fixed infinite read loop in sparsedumpregion in sparse.c (bsc#1120610).

  • Update to GNU tar 1.34:

    • Fix extraction over pipe
    • Fix memory leak in read_header (CVE-2021-20193) (bsc#1181131)
    • Fix extraction when . and .. are unreadable
    • Gracefully handle duplicate symlinks when extracting
    • Re-initialize supplementary groups when switching to user privileges
  • Update to GNU tar 1.33:

    • POSIX extended format headers do not include PID by default
    • --delay-directory-restore works for archives with reversed member ordering
    • Fix extraction of a symbolic link hardlinked to another symbolic link
    • Wildcards in exclude-vcs-ignore mode don't match slash
    • Fix the --no-overwrite-dir option
    • Fix handling of chained renames in incremental backups
    • Link counting works for file names supplied with -T
    • Accept only position-sensitive (file-selection) options in file list files
  • prepare usrmerge (bsc#1029961)

  • Update to GNU 1.32

    • Fix the use of --checkpoint without explicit --checkpoint-action
    • Fix extraction with the -U option
    • Fix iconv usage on BSD-based systems
    • Fix possible NULL dereference (savannah bug #55369) [bsc#1130496] [CVE-2019-9923]
    • Improve the testsuite
  • Update to GNU 1.31

    • Fix heap-buffer-overrun with --one-top-level, bug introduced with the addition of that option in 1.28
    • Support for zstd compression
    • New option '--zstd' instructs tar to use zstd as compression program. When listing, extractng and comparing, zstd compressed archives are recognized automatically. When '-a' option is in effect, zstd compression is selected if the destination archive name ends in '.zst' or '.tzst'.
    • The -K option interacts properly with member names given in the command line. Names of members to extract can be specified along with the '-K NAME' option. In this case, tar will extract NAME and those of named members that appear in the archive after it, which is consistent with the semantics of the option. Previous versions of tar extracted NAME, those of named members that appeared before it, and everything after it.
    • Fix CVE-2018-20482 - When creating archives with the --sparse option, previous versions of tar would loop endlessly if a sparse file had been truncated while being archived.
References

Affected packages

SUSE:Linux Enterprise Module for Basesystem 15 SP3 / tar

Package

Name
tar
Purl
pkg:rpm/suse/tar&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.34-150000.3.12.1

Ecosystem specific

{
    "binaries": [
        {
            "tar": "1.34-150000.3.12.1",
            "tar-rmt": "1.34-150000.3.12.1",
            "tar-lang": "1.34-150000.3.12.1"
        }
    ]
}

SUSE:Linux Enterprise Real Time 15 SP2 / tar

Package

Name
tar
Purl
pkg:rpm/suse/tar&distro=SUSE%20Linux%20Enterprise%20Real%20Time%2015%20SP2

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.34-150000.3.12.1

Ecosystem specific

{
    "binaries": [
        {
            "tar": "1.34-150000.3.12.1",
            "tar-rmt": "1.34-150000.3.12.1",
            "tar-lang": "1.34-150000.3.12.1"
        }
    ]
}

SUSE:Linux Enterprise Micro 5.0 / tar

Package

Name
tar
Purl
pkg:rpm/suse/tar&distro=SUSE%20Linux%20Enterprise%20Micro%205.0

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.34-150000.3.12.1

Ecosystem specific

{
    "binaries": [
        {
            "tar": "1.34-150000.3.12.1"
        }
    ]
}

SUSE:Linux Enterprise Micro 5.1 / tar

Package

Name
tar
Purl
pkg:rpm/suse/tar&distro=SUSE%20Linux%20Enterprise%20Micro%205.1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.34-150000.3.12.1

Ecosystem specific

{
    "binaries": [
        {
            "tar": "1.34-150000.3.12.1"
        }
    ]
}

SUSE:Linux Enterprise Micro 5.2 / tar

Package

Name
tar
Purl
pkg:rpm/suse/tar&distro=SUSE%20Linux%20Enterprise%20Micro%205.2

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.34-150000.3.12.1

Ecosystem specific

{
    "binaries": [
        {
            "tar": "1.34-150000.3.12.1"
        }
    ]
}

openSUSE:Leap 15.3 / tar

Package

Name
tar
Purl
pkg:rpm/opensuse/tar&distro=openSUSE%20Leap%2015.3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.34-150000.3.12.1

Ecosystem specific

{
    "binaries": [
        {
            "tar-tests": "1.34-150000.3.12.1",
            "tar": "1.34-150000.3.12.1",
            "tar-rmt": "1.34-150000.3.12.1",
            "tar-doc": "1.34-150000.3.12.1",
            "tar-backup-scripts": "1.34-150000.3.12.1",
            "tar-lang": "1.34-150000.3.12.1"
        }
    ]
}