Gentoo Linux Advisories: Shorewall, libpng | Linux Today

Gentoo Linux Advisories: Shorewall, libpng

Written By
Web Webster
Web Webster
Jul 8, 2004

Gentoo Linux Security Advisory GLSA 200407-07


http://security.gentoo.org/


Severity: Normal
Title: Shorewall : Insecure temp file handling
Date: July 08, 2004
Bugs: #55675
ID: 200407-07


Synopsis

Shorewall contains a bug in the code handling the creation of
temporary files and directories. This can allow a non-root user to
overwrite arbitrary system files.

Background

Shorewall is a high level tool for configuring Netfilter, the
firewall facility included in the Linux Kernel.

Affected packages

Package Vulnerable Unaffected
1 net-firewall/shorewall <= 1.4.10c >= 1.4.10f

Description

Shorewall uses temporary files and directories in an insecure
manner. A local user could create symbolic links at specific
locations, eventually overwriting other files on the filesystem
with the rights of the shorewall process.

Impact

An attacker could exploit this vulnerability to overwrite
arbitrary system files with root privileges, resulting in Denial of
Service or further exploitation.

Advertisement

Workaround

There is no known workaround at this time. All users should
upgrade to the latest available version of Shorewall.

Resolution

All users should upgrade to the latest available version of
Shorewall, as follows:

    # emerge sync
    # emerge -pv ">=net-firewall/shorewall-1.4.10f"
    # emerge ">=net-firewall/shorewall-1.4.10f"

References

[ 1 ] Shorewall Announcement


http://lists.shorewall.net/pipermail/shorewall-announce/2004-June/000385.html

Availability

This GLSA and any updates to it are available for viewing at the
Gentoo Security Website:

http://security.gentoo.org/glsa/glsa-200407-07.xml

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
security@gentoo.org or
alternatively, you may file a bug at http://bugs.gentoo.org.

License

Copyright 2004 Gentoo Foundation, Inc; referenced text belongs
to its owner(s).

The contents of this document are licensed under the Creative
Commons – Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/1.0


Gentoo Linux Security Advisory GLSA 200407-06


http://security.gentoo.org/


Severity: Normal
Title: libpng: Buffer overflow on row buffers
Date: July 08, 2004
Bugs: #56307
ID: 200407-06


Synopsis

libpng contains a buffer overflow vulnerability potentially
allowing an attacker to perform a Denial of Service attack or even
execute arbitrary code.

Background

libpng is a standard library used to process PNG (Portable
Network Graphics) images. It is used by several other programs,
including web browsers and potentially server processes.

Advertisement

Affected packages

Package Vulnerable Unaffected
1 media-libs/libpng <= 1.2.5-r6 >= 1.2.5-r7

Description

Due to a wrong calculation of loop offset values, libpng
contains a buffer overflow vulnerability on the row buffers. This
vulnerability was initially patched in January 2003 but since it
has been discovered that libpng contains the same vulnerability in
two other places.

Impact

An attacker could exploit this vulnerability to cause programs
linked against the library to crash or execute arbitrary code with
the permissions of the user running the vulnerable program, which
could be the root user.

Workaround

There is no known workaround at this time. All users are
encouraged to upgrade to the latest available version.

Resolution

All libpng users should upgrade to the latest stable
version:

    # emerge sync
    # emerge -pv ">=media-libs/libpng-1.2.5-r7"
    # emerge ">=media-libs/libpng-1.2.5-r7"

You should also run revdep-rebuild to rebuild any packages that
depend on older versions of libpng :

# revdep-rebuild

References

[ 1 ] CAN-2002-1363

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2002-1363

Availability

This GLSA and any updates to it are available for viewing at the
Gentoo Security Website:

http://security.gentoo.org/glsa/glsa-200407-06.xml

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
security@gentoo.org or
alternatively, you may file a bug at http://bugs.gentoo.org.

Advertisement

License

Copyright 2004 Gentoo Foundation, Inc; referenced text belongs
to its owner(s).

The contents of this document are licensed under the Creative
Commons – Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/1.0

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.