ID CVE-2013-0223
Summary The SUSE coreutils-i18n.patch for GNU coreutils allows context-dependent attackers to cause a denial of service (segmentation fault and crash) via a long string to the join command, when using the -i switch, which triggers a stack-based buffer overflow in the alloca function.
References
Vulnerable Configurations
  • OpenSUSE 11.4
    cpe:2.3:o:opensuse:opensuse:11.4
  • OpenSUSE 12.1
    cpe:2.3:o:opensuse:opensuse:12.1
  • OpenSUSE 12.2
    cpe:2.3:o:opensuse:opensuse:12.2
  • Red Hat Enterprise Linux 6.0
    cpe:2.3:o:redhat:enterprise_linux:6.0
  • GNU Coreutils
    cpe:2.3:a:gnu:coreutils
CVSS
Base: 1.9 (as of 25-11-2013 - 12:58)
Impact:
Exploitability:
CWE CWE-119
CAPEC
  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
  • Overflow Binary Resource File
    An attack of this type exploits a buffer overflow vulnerability in the handling of binary resources. Binary resources may include music files like MP3, image files like JPEG files, and any other binary file. These attacks may pass unnoticed to the client machine through normal usage of files, such as a browser loading a seemingly innocent JPEG file. This can allow the attacker access to the execution stack and execute arbitrary code in the target process. This attack pattern is a variant of standard buffer overflow attacks using an unexpected vector (binary files) to wrap its attack and open up a new attack vector. The attacker is required to either directly serve the binary content to the victim, or place it in a locale like a MP3 sharing application, for the victim to download. The attacker then is notified upon the download or otherwise locates the vulnerability opened up by the buffer overflow.
  • Buffer Overflow via Symbolic Links
    This type of attack leverages the use of symbolic links to cause buffer overflows. An attacker can try to create or manipulate a symbolic link file such that its contents result in out of bounds data. When the target software processes the symbolic link file, it could potentially overflow internal buffers with insufficient bounds checking.
  • Overflow Variables and Tags
    This type of attack leverages the use of tags or variables from a formatted configuration data to cause buffer overflow. The attacker crafts a malicious HTML page or configuration file that includes oversized strings, thus causing an overflow.
  • Buffer Overflow via Parameter Expansion
    In this attack, the target software is given input that the attacker knows will be modified and expanded in size during processing. This attack relies on the target software failing to anticipate that the expanded data may exceed some internal limit, thereby creating a buffer overflow.
  • Buffer Overflow in an API Call
    This attack targets libraries or shared code modules which are vulnerable to buffer overflow attacks. An attacker who has access to an API may try to embed malicious code in the API function call and exploit a buffer overflow vulnerability in the function's implementation. All clients that make use of the code library thus become vulnerable by association. This has a very broad effect on security across a system, usually affecting more than one software process.
  • Buffer Overflow in Local Command-Line Utilities
    This attack targets command-line utilities available in a number of shells. An attacker can leverage a vulnerability found in a command-line utility to escalate privilege to root.
Access
VectorComplexityAuthentication
LOCAL MEDIUM NONE
Impact
ConfidentialityIntegrityAvailability
NONE NONE PARTIAL
nessus via4
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2013-1652.NASL
    description Updated coreutils packages that fix three security issues, several bugs, and add two enhancements are now available for Red Hat Enterprise Linux 6. The Red Hat Security Response Team has rated this update as having low 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. The coreutils package contains the core GNU utilities. It is a combination of the old GNU fileutils, sh-utils, and textutils packages. It was discovered that the sort, uniq, and join utilities did not properly restrict the use of the alloca() function. An attacker could use this flaw to crash those utilities by providing long input strings. (CVE-2013-0221, CVE-2013-0222, CVE-2013-0223) These updated coreutils packages include numerous bug fixes and two enhancements. Space precludes documenting all of these changes in this advisory. Users are directed to the Red Hat Enterprise Linux 6.5 Technical Notes, linked to in the References, for information on the most significant of these changes. All coreutils users are advised to upgrade to these updated packages, which contain backported patches to correct these issues and add these enhancements.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 71014
    published 2013-11-21
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=71014
    title RHEL 6 : coreutils (RHSA-2013:1652)
  • NASL family Scientific Linux Local Security Checks
    NASL id SL_20131121_COREUTILS_ON_SL6_X.NASL
    description It was discovered that the sort, uniq, and join utilities did not properly restrict the use of the alloca() function. An attacker could use this flaw to crash those utilities by providing long input strings. (CVE-2013-0221, CVE-2013-0222, CVE-2013-0223)
    last seen 2019-02-21
    modified 2018-12-31
    plugin id 71296
    published 2013-12-10
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=71296
    title Scientific Linux Security Update : coreutils on SL6.x i386/x86_64
  • NASL family SuSE Local Security Checks
    NASL id OPENSUSE-2013-75.NASL
    description - Avoid segmentation fault in 'join -i' with long line input (bnc#798541, VUL-1, CVE-2013-0223) - Avoid segmentation fault in 'uniq' with long line input (bnc#796243, VUL-1, CVE-2013-0222) - Avoid segmentation fault in 'sort -d' and 'sort -M' with long line input (bnc#798538, VUL-1, CVE-2013-0221) - don't leak a file descriptor for each non-seekable input
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 75167
    published 2014-06-13
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=75167
    title openSUSE Security Update : coreutils (openSUSE-SU-2013:0232-1)
  • NASL family Amazon Linux Local Security Checks
    NASL id ALA_ALAS-2013-261.NASL
    description It was discovered that the sort, uniq, and join utilities did not properly restrict the use of the alloca() function. An attacker could use this flaw to crash those utilities by providing long input strings. (CVE-2013-0221 , CVE-2013-0222 , CVE-2013-0223)
    last seen 2019-02-21
    modified 2018-04-18
    plugin id 71401
    published 2013-12-14
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=71401
    title Amazon Linux AMI : coreutils (ALAS-2013-261)
  • NASL family CentOS Local Security Checks
    NASL id CENTOS_RHSA-2013-1652.NASL
    description Updated coreutils packages that fix three security issues, several bugs, and add two enhancements are now available for Red Hat Enterprise Linux 6. The Red Hat Security Response Team has rated this update as having low 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. The coreutils package contains the core GNU utilities. It is a combination of the old GNU fileutils, sh-utils, and textutils packages. It was discovered that the sort, uniq, and join utilities did not properly restrict the use of the alloca() function. An attacker could use this flaw to crash those utilities by providing long input strings. (CVE-2013-0221, CVE-2013-0222, CVE-2013-0223) These updated coreutils packages include numerous bug fixes and two enhancements. Space precludes documenting all of these changes in this advisory. Users are directed to the Red Hat Enterprise Linux 6.5 Technical Notes, linked to in the References, for information on the most significant of these changes. All coreutils users are advised to upgrade to these updated packages, which contain backported patches to correct these issues and add these enhancements.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 79171
    published 2014-11-12
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=79171
    title CentOS 6 : coreutils (CESA-2013:1652)
  • NASL family SuSE Local Security Checks
    NASL id OPENSUSE-2015-381.NASL
    description coreutils was updated to fix a bug in 'sort' : Fixed memory handling error with case insensitive sort using UTF-8 (boo#928749).
    last seen 2019-02-21
    modified 2015-05-27
    plugin id 83807
    published 2015-05-26
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=83807
    title openSUSE Security Update : coreutils (openSUSE-2015-381)
  • NASL family SuSE Local Security Checks
    NASL id OPENSUSE-2013-74.NASL
    description - Avoid segmentation fault in 'join -i' with long line input (bnc#798541, VUL-1, CVE-2013-0223) - Avoid segmentation fault in 'uniq' with long line input (bnc#796243, VUL-1, CVE-2013-0222) - Avoid segmentation fault in 'sort -d' and 'sort -M' with long line input (bnc#798538, VUL-1, CVE-2013-0221)
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 75162
    published 2014-06-13
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=75162
    title openSUSE Security Update : coreutils (openSUSE-SU-2013:0233-1)
  • NASL family F5 Networks Local Security Checks
    NASL id F5_BIGIP_SOL16859.NASL
    description The SUSE coreutils-i18n.patch for GNU coreutils allows context-dependent attackers to cause a denial of service (segmentation fault and crash) via a long string to the sort command, when using the (1) -d or (2) -M switch, which triggers a stack-based buffer overflow in the alloca function.
    last seen 2019-02-21
    modified 2019-01-04
    plugin id 85916
    published 2015-09-14
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=85916
    title F5 Networks BIG-IP : SUSE coreutils vulnerabilities (SOL16859)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2013-1455.NASL
    description - fix multiple segmantation faults in i18n patch (by SUSE) (#869442, #902917)- CVE2013-0223/CVE2013-0221/CVE2013-0222 Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2015-10-19
    plugin id 64420
    published 2013-02-04
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=64420
    title Fedora 18 : coreutils-8.17-8.fc18 (2013-1455)
  • NASL family SuSE Local Security Checks
    NASL id SUSE_11_COREUTILS-130917.NASL
    description This coreutils update fixes three minor security issues : - VUL-1: CVE-2013-0221: segmentation fault in 'sort -d' and 'sort -M' with long line input. (bnc#798538) - VUL-1: CVE-2013-0222: segmentation fault in 'uniq' with long line input. (bnc#796243) - VUL-1: CVE-2013-0223: segmentation fault in 'join -i' with long line input (bnc#798541)
    last seen 2019-02-21
    modified 2013-11-26
    plugin id 70134
    published 2013-09-26
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=70134
    title SuSE 11.2 / 11.3 Security Update : coreutils (SAT Patch Numbers 8334 / 8336)
  • NASL family Mandriva Local Security Checks
    NASL id MANDRIVA_MDVSA-2013-023.NASL
    description Multiple vulnerabilities has been found and corrected in coreutils : Long line inputs could trigger a segfault in the sort, uniq and join utilities (CVE-2013-0221, CVE-2013-0222, CVE-2013-0223). The updated packages have been patched to correct these issues.
    last seen 2019-02-21
    modified 2018-07-19
    plugin id 66041
    published 2013-04-20
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=66041
    title Mandriva Linux Security Advisory : coreutils (MDVSA-2013:023-1)
  • NASL family Oracle Linux Local Security Checks
    NASL id ORACLELINUX_ELSA-2013-1652.NASL
    description From Red Hat Security Advisory 2013:1652 : Updated coreutils packages that fix three security issues, several bugs, and add two enhancements are now available for Red Hat Enterprise Linux 6. The Red Hat Security Response Team has rated this update as having low 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. The coreutils package contains the core GNU utilities. It is a combination of the old GNU fileutils, sh-utils, and textutils packages. It was discovered that the sort, uniq, and join utilities did not properly restrict the use of the alloca() function. An attacker could use this flaw to crash those utilities by providing long input strings. (CVE-2013-0221, CVE-2013-0222, CVE-2013-0223) These updated coreutils packages include numerous bug fixes and two enhancements. Space precludes documenting all of these changes in this advisory. Users are directed to the Red Hat Enterprise Linux 6.5 Technical Notes, linked to in the References, for information on the most significant of these changes. All coreutils users are advised to upgrade to these updated packages, which contain backported patches to correct these issues and add these enhancements.
    last seen 2019-02-21
    modified 2018-07-18
    plugin id 71109
    published 2013-11-27
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=71109
    title Oracle Linux 6 : coreutils (ELSA-2013-1652)
redhat via4
advisories
bugzilla
id 1006221
title tail -F does not handle dead symlinks gracefully
oval
AND
  • OR
    • comment Red Hat Enterprise Linux 6 Client is installed
      oval oval:com.redhat.rhsa:tst:20100842001
    • comment Red Hat Enterprise Linux 6 Server is installed
      oval oval:com.redhat.rhsa:tst:20100842002
    • comment Red Hat Enterprise Linux 6 Workstation is installed
      oval oval:com.redhat.rhsa:tst:20100842003
    • comment Red Hat Enterprise Linux 6 ComputeNode is installed
      oval oval:com.redhat.rhsa:tst:20100842004
  • OR
    • AND
      • comment coreutils is earlier than 0:8.4-31.el6
        oval oval:com.redhat.rhsa:tst:20131652005
      • comment coreutils is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20131652006
    • AND
      • comment coreutils-libs is earlier than 0:8.4-31.el6
        oval oval:com.redhat.rhsa:tst:20131652007
      • comment coreutils-libs is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20131652008
rhsa
id RHSA-2013:1652
released 2013-11-21
severity Low
title RHSA-2013:1652: coreutils security, bug fix, and enhancement update (Low)
rpms
  • coreutils-0:8.4-31.el6
  • coreutils-libs-0:8.4-31.el6
refmap via4
confirm
Last major update 25-11-2013 - 12:58
Published 23-11-2013 - 13:55
Last modified 22-04-2019 - 13:48
Back to Top