Izdana je nova inačima programskog paketa Python u kojem su uočena tri nova sigurnosna propusta. Zloćudni ih korisnik može iskoristiti za DoS napad, zaobilaženje ograničenja, dobivanje većih privilegija te otkrivanje osjetljivih informacija.
Paket:
python 3.x
Operacijski sustavi:
Red Hat Enterprise Linux 5
Kritičnost:
5
Problem:
nepravilno rukovanje ovlastima, pogreška u programskoj komponenti, XSS
Problemi sigurnosti se javljaju zbog pogrešne implementacije komponente "dictionaries", XSS ranjivosti komponente "SimpleHTTPServer" te neodgovarajućeg postavljanja dozvola datotekama u modulu "distutils".
Posljedica:
Napadač spomenute ranjivosti može iskoristiti za povećanje ovlasti, pregled podataka, zaobilaženje ograničenja te napad uskraćivanjem usluga (eng. Denial of Service).
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
=====================================================================
Red Hat Security Advisory
Synopsis: Moderate: python security update
Advisory ID: RHSA-2012:0745-01
Product: Red Hat Enterprise Linux
Advisory URL: https://rhn.redhat.com/errata/RHSA-2012-0745.html
Issue date: 2012-06-18
CVE Names: CVE-2011-4940 CVE-2011-4944 CVE-2012-1150
=====================================================================
1. Summary:
Updated python packages that fix multiple security issues are now available
for Red Hat Enterprise Linux 5.
The Red Hat Security Response Team has rated this update as having moderate
security impact. Common Vulnerability Scoring System (CVSS) base scores,
which give detailed severity ratings, are available for each vulnerability
from the CVE links in the References section.
2. Relevant releases/architectures:
RHEL Desktop Workstation (v. 5 client) - i386, x86_64
Red Hat Enterprise Linux (v. 5 server) - i386, ia64, ppc, s390x, x86_64
Red Hat Enterprise Linux Desktop (v. 5 client) - i386, x86_64
3. Description:
Python is an interpreted, interactive, object-oriented programming
language.
A denial of service flaw was found in the implementation of associative
arrays (dictionaries) in Python. An attacker able to supply a large number
of inputs to a Python application (such as HTTP POST request parameters
sent to a web application) that are used as keys when inserting data into
an array could trigger multiple hash function collisions, making array
operations take an excessive amount of CPU time. To mitigate this issue,
randomization has been added to the hash function to reduce the chance of
an attacker successfully causing intentional collisions. (CVE-2012-1150)
Note: The hash randomization is not enabled by default as it may break
applications that incorrectly depend on dictionary ordering. To enable the
protection, the new "PYTHONHASHSEED" environment variable or the Python
interpreter's "-R" command line option can be used. Refer to the python(1)
manual page for details.
The RHSA-2012:0731 expat erratum must be installed with this update, which
adds hash randomization to the Expat library used by the Python pyexpat
module.
A flaw was found in the way the Python SimpleHTTPServer module generated
directory listings. An attacker able to upload a file with a
specially-crafted name to a server could possibly perform a cross-site
scripting (XSS) attack against victims visiting a listing page generated by
SimpleHTTPServer, for a directory containing the crafted file (if the
victims were using certain web browsers). (CVE-2011-4940)
A race condition was found in the way the Python distutils module set file
permissions during the creation of the .pypirc file. If a local user had
access to the home directory of another user who is running distutils, they
could use this flaw to gain access to that user's .pypirc file, which can
contain usernames and passwords for code repositories. (CVE-2011-4944)
Red Hat would like to thank oCERT for reporting CVE-2012-1150. oCERT
acknowledges Julian WÄ
Posljednje sigurnosne preporuke