A vulnerability has been discovered in Portage, where PGP signatures would not be verified.. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Gentoo Linux Security Advisory GLSA 202409-01 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - https://security.gentoo.org/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Severity: Normal Title: Portage: Unverified PGP Signatures Date: September 22, 2024 Bugs: #905356 ID: 202409-01 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Synopsis ======== A vulnerability has been discovered in Portage, where PGP signatures would not be verified. Background ========== Portage is the default Gentoo package management system. Affected packages ================= Package Vulnerable Unaffected ---------------- ------------ ------------ sys-apps/portage < 3.0.47 > = 3.0.47 Description =========== Multiple vulnerabilities have been discovered in Portage. Please review the CVE identifiers referenced below for details. Impact ====== When using the webrsync mechanism to sync the tree the PGP signatures that protect the integrity of the data in the tree would not be verified. This would allow a man-in-the-middle attack to inject arbitrary content into the tree. Workaround ========== There is no known workaround at this time. Resolution ========== All Portage users should upgrade to the latest version: # emerge --sync # emerge --ask --oneshot --verbose "> =sys-apps/portage-3.0.47" References ========== [ 1 ] CVE-2016-20021 https://nvd.nist.gov/vuln/detail/CVE-2016-20021 Availability ============ This GLSA and any updates to it are available for viewing at the Gentoo Security Website: https://security.gentoo.org/glsa/202409-01 Concerns? ========= Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users'machines is of utmost importance to us. Any security concerns should be addressed to
A vulnerability in emerge-delta-webrsync and Portage could result in a man-in-the-middle attack.. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Gentoo Linux Security Advisory GLSA 201904-11 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - https://security.gentoo.org/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Severity: Normal Title: Portage: Man-in-the-middle Date: April 08, 2019 Bugs: #646212 ID: 201904-11 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Synopsis ======= A vulnerability in emerge-delta-webrsync and Portage could result in a man-in-the-middle attack. Background ========= Portage is the package management and distribution system for Gentoo. Affected packages ================ ------------------------------------------------------------------- Package / Vulnerable / Unaffected ------------------------------------------------------------------- 1 app-portage/emerge-delta-webrsync < 3.7.4 > = 3.7.4 2 sys-apps/portage < 2.3.22 > = 2.3.22 ------------------------------------------------------------------- 2 affected packages Description ========== A vulnerability was discovered in emerge-delta-webrsync and Portage that did not properly validate the revocation status of GPG keys. Impact ===== A remote attacker could conduct a man-in-the-middle attack. Please review the referenced bug for specific details. Workaround ========= There is no known workaround at this time. Resolution ========= All emerge-delta-webrsync users should upgrade to the latest version: # emerge --sync # emerge -a --oneshot -v "> =app-portage/emerge-delta-webrsync-3.7.4" All Portage users should upgrade to the latest version: # emerge --sync # emerge --ask --oneshot --verbose ">=sys-apps/portage-2.3.22" References ========= Availability =========== This GLSA and any updates to it are available for viewing at the Gentoo Security Website: https://security.gentoo.org/glsa/201904-11 Concerns? ======== Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users' machines is of utmost importance to us. Any security concerns should be addressed to
A vulnerability in Portage's urlopen function could allow a remote attacker to conduct a man-in-the-middle attack.. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Gentoo Linux Security Advisory GLSA 201507-16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - https://security.gentoo.org/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Severity: Normal Title: Portage: Man-in-the-middle attack Date: July 10, 2015 Bugs: #469888 ID: 201507-16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Synopsis ======= A vulnerability in Portage's urlopen function could allow a remote attacker to conduct a man-in-the-middle attack. Background ========= Portage is the package management and distribution system for Gentoo. Affected packages ================ ------------------------------------------------------------------- Package / Vulnerable / Unaffected ------------------------------------------------------------------- 1 sys-apps/portage < 2.1.12.2 > = 2.1.12.2 Description ========== Portage does not verify X.509 SSL certificate properly if HTTPS is used. Impact ===== A remote attacker can spoof servers and modify binary package lists via specially crafted certificate. Workaround ========= There is no known workaround at this time. Resolution ========= All Portage users should upgrade to the latest version: # emerge --sync # emerge --ask --oneshot --verbose "> =sys-apps/portage-2.1.12.2" References ========= [ 1 ] CVE-2013-2100 http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-2100 Availability =========== This GLSA and any updates to it are available for viewing at the Gentoo Security Website: https://security.gentoo.org/glsa/201507-16 Concerns? ======== Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of ourusers' machines is of utmost importance to us. Any security concerns should be addressed to
Portage may disclose sensitive information when updating configuration files.. -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Gentoo Linux Security Advisory GLSA 200712-11 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - https://security.gentoo.org/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Severity: Normal Title: Portage: Information disclosure Date: December 13, 2007 Bugs: #193589 ID: 200712-11 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Synopsis ======= Portage may disclose sensitive information when updating configuration files. Background ========= Portage is the default Gentoo package management system. Affected packages ================ ------------------------------------------------------------------- Package / Vulnerable / Unaffected ------------------------------------------------------------------- 1 sys-apps/portage < 2.1.3.11 > = 2.1.3.11 Description ========== Mike Frysinger reported that the "etc-update" utility uses temporary files with the standard umask, which results in the files being world-readable when merging configuration files in a default setup. Impact ===== A local attacker could access sensitive information when configuration files are being merged. Workaround ========= There is no known workaround at this time. Resolution ========= All Portage users should upgrade to the latest version: # emerge --sync # emerge --ask --oneshot --verbose "> =sys-apps/portage-2.1.3.11" References ========= [ 1 ] CVE-2007-6249 https://www.cve.org/CVERecord?id=CVE-2007-6249 Availability =========== This GLSA and any updates to it are available for viewing at the Gentoo Security Website: https://security.gentoo.org/glsa/200712-11 Concerns? ======== Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to
dispatch-conf (included in Portage) and qpkg (included in Gentoolkit) are vulnerable to symlink attacks, potentially allowing a local user to overwrite arbitrary files with the rights of the user running the script. [More...]. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Gentoo Linux Security Advisory GLSA 200411-13:01 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - https://security.gentoo.org/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Severity: Normal Title: Portage, Gentoolkit: Temporary file vulnerabilities Date: November 07, 2004 Bugs: #68846, #69147 ID: 200411-13:01 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Synopsis ======= dispatch-conf (included in Portage) and qpkg (included in Gentoolkit) are vulnerable to symlink attacks, potentially allowing a local user to overwrite arbitrary files with the rights of the user running the script. Background ========= Portage is Gentoo's package management tool. The dispatch-conf utility allows for easy rollback of configuration file changes and automatic updates of configurations files never modified by users. Gentoolkit is a collection of Gentoo specific administration scripts, one of which is the portage querying tool qpkg. Affected packages ================ ------------------------------------------------------------------- Package / Vulnerable / Unaffected ------------------------------------------------------------------- 1 sys-apps/portage = 2.0.51-r3 2 app-portage/gentoolkit = 0.2.0_pre10-r1 *> = 0.2.0_pre8-r1 ------------------------------------------------------------------- 2 affected packages on all of their supported architectures. ------------------------------------------------------------------- Description ========== dispatch-conf and qpkg use predictable filenames for temporary files. Impact ===== A local attacker could create symbolic links in the temporary files directory, pointing to a valid file somewhere on the filesystem. When an affected script is called, this would result in the file to be overwritten with the rights of the user running the dispatch-conf or qpkg, which could be the root user. Workaround ========= There is no known workaround at this time. Resolution ========= All Portage users should upgrade to the latest version: # emerge --sync # emerge --ask --oneshot --verbose "> =sys-apps/portage-2.0.51-r3" All Gentoolkit users should upgrade to the latest version: # emerge --sync # emerge --ask --oneshot --verbose "> =app-portage/gentoolkit-0.2.0_pre8-r1" Availability =========== This GLSA and any updates to it are available for viewing at the Gentoo Security Website: https://security.gentoo.org/glsa/200411-13 Concerns? ======== Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to
A flaw has been found in the temporary file handling algorithms for the sandboxing code used within Portage. Lockfiles created during normal Portage operation of portage could be manipulated by local users resulting in the truncation of hard linked files; causing a Denial of [More...]. -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Gentoo Linux Security Advisory GLSA 200404-01 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ~ https://security.gentoo.org/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ~ Severity: Normal ~ Title: Insecure sandbox temporary lockfile vulnerabilities in ~ Portage ~ Date: April 04, 2004 ~ Bugs: #21923 ~ ID: 200404-01 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Synopsis ======= A flaw has been found in the temporary file handling algorithms for the sandboxing code used within Portage. Lockfiles created during normal Portage operation of portage could be manipulated by local usersresulting in the truncation of hard linked files; causing a Denial of Service attack on the system. Background ========= Portage is Gentoo's package management system which is responsible for installing, compiling and updating any ebuilds on the system through the Gentoo rsync tree. Under default configurations, most ebuilds run under a sandbox which prevent the build process writing to the "real" system outside the build directory - packages are installed into a temporary location and then copied over safely by Portage instead. During the process the sandbox wrapper creates lockfiles in the /tmp directory which are vulnerable to a hard-link attack. Affected packages ================ ~ ------------------------------------------------------------------- ~ Package / Vulnerable / Unaffected ~ ------------------------------------------------------------------- ~ sys-apps/portage < 2.0.50-r3 > = 2.0.50-r3 Description ========== A flaw in Portage's sandbox wrapper has been found where the temporary lockfiles are subject to a hard-link attack which allows linkable files to be overwritten to an empty file. This can be used to damage critical files on a system causing a Denial of Service, or alternatively this attack may be used to cause other security risks; for example firewall configuration data could be overwritten without notice. The vulnerable sandbox functions have been patched to test for these new conditions: namely; for the existance of a hard-link which would be removed before the sandbox process would continue, for the existance of a world-writable lockfile in which case the sandbox would also remove it, and also for any mismatches in the UID ( anything but root ) and the GID ( anything but the group of the sandbox process ). If the vulnerable files cannot be removed by the sandbox, then the sandbox would exit with a fatal error warning the adminstrator of the issue. The patched functions also fix any other sandbox I/O operations which do not explicitly include the mentioned lockfile. Impact ===== Any user with write access to the /tmp directory can hard-link a file to /tmp/sandboxpids.tmp - this file would eventually be replaced with an empty one; effectively wiping out the file it was linked to as well with no prior warning. This could be used to potentially disable a vital component of the system and cause a path for other possible exploits. This vulnerability only affects systems that have /tmp on the root partition: since symbolic link attacks are filtered, /tmp has to be on the same partition for an attack to take place. Workaround ========= A workaround is not currently known for this issue. All users are advised to upgrade to the latest version of Portage. Resolution ========= Users should upgrade to Portage 2.0.50-r3 or later: ~ # emerge sync ~ # emerge -pv "> =sys-apps/portage-2.0.50-r3" ~ # emerge "> =sys-apps/portage-2.0.50-r3" Concerns? ======== Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to
Get the latest Linux and open source security news straight to your inbox.