portage-ng / portage / app-arch / tar / 1.35
portage-ng glsa
8 advisories reference app-arch/tar · none place version 1.35 in a vulnerable range
▸ GLSA 202402-12 GNU Tar: Out of Bounds Read this version unaffected high remote 2024-02-18

A vulnerability has been discovered in GNU Tar which may lead to an out of bounds read.

Announced
2024-02-18
Revised
2024-02-18
Access
remote
Bugs
#898176
Advisory
https://security.gentoo.org/glsa/202402-12

Affected packages

PackageArchVulnerableUnaffected
app-arch/tar*< 1.34-r3>= 1.34-r3

Background

The GNU Tar program provides the ability to create tar archives, as well as various other kinds of manipulation.

Description

A vulnerability have been discovered in GNU Tar. Please review the CVE identifier referenced below for details.

Impact

GNU Tar has a one-byte out-of-bounds read that results in use of uninitialized memory for a conditional jump. Exploitation to change the flow of control has not been demonstrated. The issue occurs via a V7 archive in which mtime has approximately 11 whitespace characters.

Workaround

There is no known workaround at this time.

Resolution

All GNU Tar users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-arch/tar-1.34-r3"

References

▸ GLSA 202105-29 Tar: Denial of service this version unaffected low local, remote 2021-05-26

A vulnerability in Tar could lead to a Denial of Service condition.

Announced
2021-05-26
Revised
2021-05-26
Access
local, remote
Bugs
#778548
Advisory
https://security.gentoo.org/glsa/202105-29

Affected packages

PackageArchVulnerableUnaffected
app-arch/tar*< 1.34>= 1.34

Background

The Tar program provides the ability to create and manipulate tar archives.

Description

It was discovered that GNU Tar had a memory leak when processing archive headers.

Impact

A remote attacker could entice a user to open a specially crafted archive using Tar, possibly resulting in a Denial of Service condition.

Workaround

There is no known workaround at this time.

Resolution

All Tar users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-arch/tar-1.34"

References

▸ GLSA 201903-05 Tar: Denial of service this version unaffected normal local 2019-03-10

A vulnerability in Tar could led to a Denial of Service condition.

Announced
2019-03-10
Revised
2019-03-10
Access
local
Bugs
#674210
Advisory
https://security.gentoo.org/glsa/201903-05

Affected packages

PackageArchVulnerableUnaffected
app-arch/tar*< 1.30-r1>= 1.30-r1

Background

The Tar program provides the ability to create and manipulate tar archives.

Description

The sparse_dump_region function in sparse.c file in Tar allows an infinite loop using the --sparse option.

Impact

A local attacker could cause a Denial of Service condition by modifying a file that is supposed to be archived by a different user’s process (e.g., a system backup running as root).

Workaround

There is no known workaround at this time.

Resolution

All Tar users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-arch/tar-1.30-r1"

References

▸ GLSA 201611-19 Tar: Extract pathname bypass this version unaffected normal remote 2016-11-22

A path traversal attack in Tar may lead to the remote execution of arbitrary code.

Announced
2016-11-22
Revised
2016-11-22 (revision 2)
Access
remote
Bugs
#598334
Advisory
https://security.gentoo.org/glsa/201611-19

Affected packages

PackageArchVulnerableUnaffected
app-arch/tar*< 1.29-r1>= 1.29-r1

Background

The Tar program provides the ability to create and manipulate tar archives.

Description

Tar attempts to avoid path traversal attacks by removing offending parts of the element name at extract. This sanitizing leads to a vulnerability where the attacker can bypass the path name(s) specified on the command line.

Impact

The attacker can create a crafted tar archive that, if extracted by the victim, replaces files and directories the victim has access to in the target directory, regardless of the path name(s) specified on the command line.

Workaround

There is no known workaround at this time.

Resolution

All Tar users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-arch/tar-1.29-r1"

References

▸ GLSA 201111-11 GNU Tar: User-assisted execution of arbitrary code this version unaffected normal remote 2011-11-20

A buffer overflow flaw in GNU Tar could result in execution of arbitrary code or a Denial of Service.

Announced
2011-11-20
Revised
2011-11-20
Access
remote
Bugs
#313333
Advisory
https://security.gentoo.org/glsa/201111-11

Affected packages

PackageArchVulnerableUnaffected
app-arch/tar*< 1.23>= 1.23

Background

GNU Tar is a utility to create archives as well as add and extract files from archives.

Description

GNU Tar is vulnerable to a boundary error in the rmt_read__ function in lib/rtapelib.c, which could cause a heap-based buffer overflow.

Impact

A remote attacker could entice the user to load a specially crafted archive, possibly resulting in the execution of arbitrary code or a Denial of Service.

Workaround

There is no known workaround at this time.

Resolution

All GNU Tar users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-arch/tar-1.23"

NOTE: This is a legacy GLSA. Updates for all affected architectures are available since July 18, 2010. It is likely that your system is already no longer affected by this issue.

References

▸ GLSA 200709-09 GNU Tar: Directory traversal vulnerability this version unaffected normal remote 2007-09-15

A directory traversal vulnerability has been discovered in GNU Tar.

Announced
2007-09-15
Revised
2007-09-15
Access
remote
Bugs
#189682
Advisory
https://security.gentoo.org/glsa/200709-09

Affected packages

PackageArchVulnerableUnaffected
app-arch/tar*< 1.18-r2>= 1.18-r2

Background

The GNU Tar program provides the ability to create tar archives, as well as various other kinds of manipulation.

Description

Dmitry V. Levin discovered a directory traversal vulnerability in the contains_dot_dot() function in file src/names.c.

Impact

By enticing a user to extract a specially crafted tar archive, a remote attacker could extract files to arbitrary locations outside of the specified directory with the permissions of the user running GNU Tar.

Workaround

There is no known workaround at this time.

Resolution

All GNU Tar users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-arch/tar-1.18-r2"

References

▸ GLSA 200612-10 Tar: Directory traversal vulnerability this version unaffected normal remote 2006-12-11

Tar is vulnerable to directory traversal possibly allowing for the overwriting of arbitrary files.

Announced
2006-12-11
Revised
2006-12-11
Access
remote
Bugs
#155901
Advisory
https://security.gentoo.org/glsa/200612-10

Affected packages

PackageArchVulnerableUnaffected
app-arch/tar*< 1.16-r2>= 1.16-r2

Background

The Tar program provides the ability to create and manipulate tar archives.

Description

Tar does not properly extract archive elements using the GNUTYPE_NAMES record name, allowing files to be created at arbitrary locations using symlinks. Once a symlink is extracted, files after the symlink in the archive will be extracted to the destination of the symlink.

Impact

An attacker could entice a user to extract a specially crafted tar archive, possibly allowing for the overwriting of arbitrary files on the system extracting the archive.

Workaround

There is no known workaround at this time.

Resolution

All Tar users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-arch/tar-1.16-r2"

References

▸ GLSA 200603-06 GNU tar: Buffer overflow this version unaffected normal remote 2006-03-10

A malicious tar archive could trigger a Buffer overflow in GNU tar, potentially resulting in the execution of arbitrary code.

Announced
2006-03-10
Revised
2006-03-10
Access
remote
Bugs
#123038
Advisory
https://security.gentoo.org/glsa/200603-06

Affected packages

PackageArchVulnerableUnaffected
app-arch/tar*< 1.15.1-r1>= 1.15.1-r1

Background

GNU tar is the standard GNU utility for creating and manipulating tar archives, a common format used for creating backups and distributing files on UNIX-like systems.

Description

Jim Meyering discovered a flaw in the handling of certain header fields that could result in a buffer overflow when extracting or listing the contents of an archive.

Impact

A remote attacker could construct a malicious tar archive that could potentially execute arbitrary code with the privileges of the user running GNU tar.

Workaround

There is no known workaround at this time.

Resolution

All GNU tar users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-arch/tar-1.15.1-r1"

References