CVE-2013-4397 (GCVE-0-2013-4397)

Vulnerability from cvelistv5 – Published: 2013-10-17 23:00 – Updated: 2024-08-06 16:45
VLAI
Summary
Multiple integer overflows in the th_read function in lib/block.c in libtar before 1.2.20 allow remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a long (1) name or (2) link in an archive, which triggers a heap-based buffer overflow.
Severity
No CVSS data available.
CWE
  • n/a
References
URL Tags
https://lists.feep.net:8080/pipermail/libtar/2013… mailing-listx_refsource_MLIST
http://rhn.redhat.com/errata/RHSA-2013-1418.html vendor-advisoryx_refsource_REDHAT
http://secunia.com/advisories/55253 third-party-advisoryx_refsource_SECUNIA
http://www.securitytracker.com/id/1029166 vdb-entryx_refsource_SECTRACK
https://source.android.com/security/bulletin/2018-01-01 x_refsource_CONFIRM
http://www.openwall.com/lists/oss-security/2013/10/10/6 mailing-listx_refsource_MLIST
http://secunia.com/advisories/55188 third-party-advisoryx_refsource_SECUNIA
http://repo.or.cz/w/libtar.git/commitdiff/45448e8… x_refsource_CONFIRM
http://www.securitytracker.com/id/1040106 vdb-entryx_refsource_SECTRACK
http://www.debian.org/security/2013/dsa-2817 vendor-advisoryx_refsource_DEBIAN
http://www.securityfocus.com/bid/62922 vdb-entryx_refsource_BID
http://www.openwall.com/lists/oss-security/2013/10/10/4 mailing-listx_refsource_MLIST
Date Public
2013-10-01 00:00
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-06T16:45:14.871Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "name": "[libtar] 20131009 ANNOUNCE: libtar version 1.2.20",
            "tags": [
              "mailing-list",
              "x_refsource_MLIST",
              "x_transferred"
            ],
            "url": "https://lists.feep.net:8080/pipermail/libtar/2013-October/000361.html"
          },
          {
            "name": "RHSA-2013:1418",
            "tags": [
              "vendor-advisory",
              "x_refsource_REDHAT",
              "x_transferred"
            ],
            "url": "http://rhn.redhat.com/errata/RHSA-2013-1418.html"
          },
          {
            "name": "55253",
            "tags": [
              "third-party-advisory",
              "x_refsource_SECUNIA",
              "x_transferred"
            ],
            "url": "http://secunia.com/advisories/55253"
          },
          {
            "name": "1029166",
            "tags": [
              "vdb-entry",
              "x_refsource_SECTRACK",
              "x_transferred"
            ],
            "url": "http://www.securitytracker.com/id/1029166"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://source.android.com/security/bulletin/2018-01-01"
          },
          {
            "name": "[oss-security] 20131010 Re: Integer overflow in libtar (\u003c= 1.2.19)",
            "tags": [
              "mailing-list",
              "x_refsource_MLIST",
              "x_transferred"
            ],
            "url": "http://www.openwall.com/lists/oss-security/2013/10/10/6"
          },
          {
            "name": "55188",
            "tags": [
              "third-party-advisory",
              "x_refsource_SECUNIA",
              "x_transferred"
            ],
            "url": "http://secunia.com/advisories/55188"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "http://repo.or.cz/w/libtar.git/commitdiff/45448e8bae671c2f7e80b860ae0fc0cedf2bdc04"
          },
          {
            "name": "1040106",
            "tags": [
              "vdb-entry",
              "x_refsource_SECTRACK",
              "x_transferred"
            ],
            "url": "http://www.securitytracker.com/id/1040106"
          },
          {
            "name": "DSA-2817",
            "tags": [
              "vendor-advisory",
              "x_refsource_DEBIAN",
              "x_transferred"
            ],
            "url": "http://www.debian.org/security/2013/dsa-2817"
          },
          {
            "name": "62922",
            "tags": [
              "vdb-entry",
              "x_refsource_BID",
              "x_transferred"
            ],
            "url": "http://www.securityfocus.com/bid/62922"
          },
          {
            "name": "[oss-security] 20131010 Integer overflow in libtar (\u003c= 1.2.19)",
            "tags": [
              "mailing-list",
              "x_refsource_MLIST",
              "x_transferred"
            ],
            "url": "http://www.openwall.com/lists/oss-security/2013/10/10/4"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "n/a",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ],
      "datePublic": "2013-10-01T00:00:00.000Z",
      "descriptions": [
        {
          "lang": "en",
          "value": "Multiple integer overflows in the th_read function in lib/block.c in libtar before 1.2.20 allow remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a long (1) name or (2) link in an archive, which triggers a heap-based buffer overflow."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "n/a",
              "lang": "en",
              "type": "text"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2018-01-12T22:57:01.000Z",
        "orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
        "shortName": "redhat"
      },
      "references": [
        {
          "name": "[libtar] 20131009 ANNOUNCE: libtar version 1.2.20",
          "tags": [
            "mailing-list",
            "x_refsource_MLIST"
          ],
          "url": "https://lists.feep.net:8080/pipermail/libtar/2013-October/000361.html"
        },
        {
          "name": "RHSA-2013:1418",
          "tags": [
            "vendor-advisory",
            "x_refsource_REDHAT"
          ],
          "url": "http://rhn.redhat.com/errata/RHSA-2013-1418.html"
        },
        {
          "name": "55253",
          "tags": [
            "third-party-advisory",
            "x_refsource_SECUNIA"
          ],
          "url": "http://secunia.com/advisories/55253"
        },
        {
          "name": "1029166",
          "tags": [
            "vdb-entry",
            "x_refsource_SECTRACK"
          ],
          "url": "http://www.securitytracker.com/id/1029166"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://source.android.com/security/bulletin/2018-01-01"
        },
        {
          "name": "[oss-security] 20131010 Re: Integer overflow in libtar (\u003c= 1.2.19)",
          "tags": [
            "mailing-list",
            "x_refsource_MLIST"
          ],
          "url": "http://www.openwall.com/lists/oss-security/2013/10/10/6"
        },
        {
          "name": "55188",
          "tags": [
            "third-party-advisory",
            "x_refsource_SECUNIA"
          ],
          "url": "http://secunia.com/advisories/55188"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "http://repo.or.cz/w/libtar.git/commitdiff/45448e8bae671c2f7e80b860ae0fc0cedf2bdc04"
        },
        {
          "name": "1040106",
          "tags": [
            "vdb-entry",
            "x_refsource_SECTRACK"
          ],
          "url": "http://www.securitytracker.com/id/1040106"
        },
        {
          "name": "DSA-2817",
          "tags": [
            "vendor-advisory",
            "x_refsource_DEBIAN"
          ],
          "url": "http://www.debian.org/security/2013/dsa-2817"
        },
        {
          "name": "62922",
          "tags": [
            "vdb-entry",
            "x_refsource_BID"
          ],
          "url": "http://www.securityfocus.com/bid/62922"
        },
        {
          "name": "[oss-security] 20131010 Integer overflow in libtar (\u003c= 1.2.19)",
          "tags": [
            "mailing-list",
            "x_refsource_MLIST"
          ],
          "url": "http://www.openwall.com/lists/oss-security/2013/10/10/4"
        }
      ]
    }
  },
  "cveMetadata": {
    "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
    "assignerShortName": "redhat",
    "cveId": "CVE-2013-4397",
    "datePublished": "2013-10-17T23:00:00.000Z",
    "dateReserved": "2013-06-12T00:00:00.000Z",
    "dateUpdated": "2024-08-06T16:45:14.871Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2013-4397",
      "date": "2026-09-21",
      "epss": "0.05485",
      "percentile": "0.92464"
    },
    "nvd": {
      "cve": {
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "2F6AB192-9D7D-4A9A-8995-E53A9DE9EAFC",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          },
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:a:feep:libtar:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "1231D25C-DCF5-40CD-9217-EEFFF056D0FC",
                    "versionEndIncluding": "1.2.19",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:feep:libtar:1.2.11:*:*:*:*:*:*:*",
                    "matchCriteriaId": "17D20697-E839-434B-A12A-6C09A8F2D79A",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:feep:libtar:1.2.13:*:*:*:*:*:*:*",
                    "matchCriteriaId": "FB0B7CEF-1B95-4FC5-94A6-834488341AD6",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:feep:libtar:1.2.14:*:*:*:*:*:*:*",
                    "matchCriteriaId": "15FDD28C-D035-4E76-BE44-E8191A487064",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:feep:libtar:1.2.15:*:*:*:*:*:*:*",
                    "matchCriteriaId": "10A64757-FC13-441A-9667-6222E1881B2E",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:feep:libtar:1.2.16:*:*:*:*:*:*:*",
                    "matchCriteriaId": "2161B141-7C5C-4FF6-B7E7-BF06580821BE",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:feep:libtar:1.2.17:*:*:*:*:*:*:*",
                    "matchCriteriaId": "CFEFFA4F-EF13-4CF4-AA05-CDC6DA28A383",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:feep:libtar:1.2.18:*:*:*:*:*:*:*",
                    "matchCriteriaId": "2E41D1E6-B7B3-4A0A-8F5A-A62BD3D6DBA8",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "Multiple integer overflows in the th_read function in lib/block.c in libtar before 1.2.20 allow remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a long (1) name or (2) link in an archive, which triggers a heap-based buffer overflow."
          },
          {
            "lang": "es",
            "value": "M\u00faltiples desbordamientos de entero en la funci\u00f3n the_read de lib/block.c en libtar anterior a 1.2.20 permite a atacantes remotos causar una dengaci\u00f3n de servicio (crash) y posiblemente ejecuta c\u00f3digo de forma arbitraria a trav\u00e9s de un largo (1) nombre o (2) enlace en un archivo, lo que dispara un desbordamiento de buffer (heap)"
          }
        ],
        "id": "CVE-2013-4397",
        "lastModified": "2026-04-29T01:13:23.040",
        "metrics": {
          "cvssMetricV2": [
            {
              "acInsufInfo": false,
              "baseSeverity": "MEDIUM",
              "cvssData": {
                "accessComplexity": "MEDIUM",
                "accessVector": "NETWORK",
                "authentication": "NONE",
                "availabilityImpact": "PARTIAL",
                "baseScore": 6.8,
                "confidentialityImpact": "PARTIAL",
                "integrityImpact": "PARTIAL",
                "vectorString": "AV:N/AC:M/Au:N/C:P/I:P/A:P",
                "version": "2.0"
              },
              "exploitabilityScore": 8.6,
              "impactScore": 6.4,
              "obtainAllPrivilege": false,
              "obtainOtherPrivilege": false,
              "obtainUserPrivilege": false,
              "source": "nvd@nist.gov",
              "type": "Primary",
              "userInteractionRequired": false
            }
          ]
        },
        "published": "2013-10-17T23:55:04.580",
        "references": [
          {
            "source": "secalert@redhat.com",
            "tags": [
              "Exploit",
              "Patch"
            ],
            "url": "http://repo.or.cz/w/libtar.git/commitdiff/45448e8bae671c2f7e80b860ae0fc0cedf2bdc04"
          },
          {
            "source": "secalert@redhat.com",
            "tags": [
              "Vendor Advisory"
            ],
            "url": "http://rhn.redhat.com/errata/RHSA-2013-1418.html"
          },
          {
            "source": "secalert@redhat.com",
            "tags": [
              "Vendor Advisory"
            ],
            "url": "http://secunia.com/advisories/55188"
          },
          {
            "source": "secalert@redhat.com",
            "tags": [
              "Vendor Advisory"
            ],
            "url": "http://secunia.com/advisories/55253"
          },
          {
            "source": "secalert@redhat.com",
            "url": "http://www.debian.org/security/2013/dsa-2817"
          },
          {
            "source": "secalert@redhat.com",
            "url": "http://www.openwall.com/lists/oss-security/2013/10/10/4"
          },
          {
            "source": "secalert@redhat.com",
            "url": "http://www.openwall.com/lists/oss-security/2013/10/10/6"
          },
          {
            "source": "secalert@redhat.com",
            "url": "http://www.securityfocus.com/bid/62922"
          },
          {
            "source": "secalert@redhat.com",
            "url": "http://www.securitytracker.com/id/1029166"
          },
          {
            "source": "secalert@redhat.com",
            "url": "http://www.securitytracker.com/id/1040106"
          },
          {
            "source": "secalert@redhat.com",
            "url": "https://lists.feep.net:8080/pipermail/libtar/2013-October/000361.html"
          },
          {
            "source": "secalert@redhat.com",
            "url": "https://source.android.com/security/bulletin/2018-01-01"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Exploit",
              "Patch"
            ],
            "url": "http://repo.or.cz/w/libtar.git/commitdiff/45448e8bae671c2f7e80b860ae0fc0cedf2bdc04"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Vendor Advisory"
            ],
            "url": "http://rhn.redhat.com/errata/RHSA-2013-1418.html"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Vendor Advisory"
            ],
            "url": "http://secunia.com/advisories/55188"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Vendor Advisory"
            ],
            "url": "http://secunia.com/advisories/55253"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://www.debian.org/security/2013/dsa-2817"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://www.openwall.com/lists/oss-security/2013/10/10/4"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://www.openwall.com/lists/oss-security/2013/10/10/6"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://www.securityfocus.com/bid/62922"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://www.securitytracker.com/id/1029166"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://www.securitytracker.com/id/1040106"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "https://lists.feep.net:8080/pipermail/libtar/2013-October/000361.html"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "https://source.android.com/security/bulletin/2018-01-01"
          }
        ],
        "sourceIdentifier": "secalert@redhat.com",
        "vulnStatus": "Modified",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-189"
              }
            ],
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2025-11-21T12:38:11+00:00",
      "cve": "CVE-2013-4397",
      "id": "CVE-2013-4397",
      "initial_release_date": "2013-10-09T00:00:00+00:00",
      "product_status:fixed": "152",
      "product_status:known_not_affected": "2",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "libtar: Heap-based buffer overflows by expanding a specially-crafted archive",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2013/cve-2013-4397.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…