{"dataType": "CVE_RECORD", "containers": {"adp": [{"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"medium\"}"}}}], "affected": [{"vendor": "debian", "product": "tar", "versions": [{"status": "affected", "version": "0", "lessThan": "1.18-2", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}], "references": [{"url": "https://security-tracker.debian.org/tracker/CVE-2007-4131"}], "descriptions": [{"lang": "en", "value": "Directory traversal vulnerability in the contains_dot_dot function in src/names.c in GNU tar allows user-assisted remote attackers to overwrite arbitrary files via certain //.. (slash slash dot dot) sequences in directory symlinks in a TAR archive."}], "providerMetadata": {"orgId": "79363d38-fa19-49d1-9214-5f28da3f3ac5", "shortName": "debian", "dateUpdated": "2007-12-28T00:00:00.000Z", "x_subShortName": "debian"}}, {"metrics": [{"cvssV2_0": {"version": "2.0", "baseScore": 6.8, "accessVector": "NETWORK", "vectorString": "AV:N/AC:M/Au:N/C:P/I:P/A:P", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "MEDIUM", "availabilityImpact": "PARTIAL", "confidentialityImpact": "PARTIAL"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"MODERATE\"}"}}}], "affected": [{"vendor": "oraclelinux", "product": "tar", "versions": [{"status": "affected", "version": "0", "lessThan": "2:1.15.1-23.0.1.el5", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}], "references": [{"url": "https://linux.oracle.com/cve/CVE-2007-4131.html"}], "descriptions": [{"lang": "en", "value": "Directory traversal vulnerability in the contains_dot_dot function in src/names.c in GNU tar allows user-assisted remote attackers to overwrite arbitrary files via certain //.. (slash slash dot dot) sequences in directory symlinks in a TAR archive."}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000006", "shortName": "oraclelinux", "dateUpdated": "2007-08-23T00:00:00Z", "x_subShortName": "oraclelinux"}}, {"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"Moderate\"}"}}}], "affected": [{"vendor": "redhat", "product": "tar", "versions": [{"status": "affected", "version": "0", "lessThan": "2:1.15.1-23.0.1.el5", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}], "references": [{"url": "https://access.redhat.com/errata/RHSA-2007:0860"}, {"url": "https://access.redhat.com/security/cve/CVE-2007-4131"}], "descriptions": [{"lang": "en", "value": "The GNU tar program saves many files together in one archive and can\nrestore individual files (or all of the files) from that archive. \n\nA path traversal flaw was discovered in the way GNU tar extracted archives.\nA malicious user could create a tar archive that could write to arbitrary\nfiles to which the user running GNU tar had write access. (CVE-2007-4131)\n\nRed Hat would like to thank Dmitry V. Levin for reporting this issue.\n\nUsers of tar should upgrade to this updated package, which contains a\nreplacement backported patch to correct this issue."}], "providerMetadata": {"orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749", "shortName": "redhat", "dateUpdated": "2007-08-12T00:00:00Z", "x_subShortName": "redhat_5"}}], "cna": {"metrics": [{"format": "CVSS", "cvssV2_0": {"version": "2.0", "baseScore": 6.8, "accessVector": "NETWORK", "vectorString": "AV:N/AC:M/Au:N/C:P/I:P/A:P", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "MEDIUM", "availabilityImpact": "PARTIAL", "confidentialityImpact": "PARTIAL"}}], "affected": [{"cpes": ["cpe:2.3:a:gnu:tar:1.13.11:*:*:*:*:*:*:*", "cpe:2.3:a:gnu:tar:1.13.14:*:*:*:*:*:*:*", "cpe:2.3:a:gnu:tar:1.13.16:*:*:*:*:*:*:*", "cpe:2.3:a:gnu:tar:1.13.17:*:*:*:*:*:*:*", "cpe:2.3:a:gnu:tar:1.13.18:*:*:*:*:*:*:*", "cpe:2.3:a:gnu:tar:1.13.19:*:*:*:*:*:*:*", "cpe:2.3:a:gnu:tar:1.13.25:*:*:*:*:*:*:*", "cpe:2.3:a:gnu:tar:1.13.5:*:*:*:*:*:*:*", "cpe:2.3:a:gnu:tar:1.13:*:*:*:*:*:*:*", "cpe:2.3:a:gnu:tar:1.14.90:*:*:*:*:*:*:*", "cpe:2.3:a:gnu:tar:1.14:*:*:*:*:*:*:*", "cpe:2.3:a:gnu:tar:1.15.1:*:*:*:*:*:*:*", "cpe:2.3:a:gnu:tar:1.15.90:*:*:*:*:*:*:*", "cpe:2.3:a:gnu:tar:1.15.91:*:*:*:*:*:*:*", "cpe:2.3:a:gnu:tar:1.15:*:*:*:*:*:*:*", "cpe:2.3:a:gnu:tar:1.16:*:*:*:*:*:*:*"], "vendor": "gnu", "product": "tar", "versions": [{"status": "affected", "version": "1.13"}, {"status": "affected", "version": "1.13.11"}, {"status": "affected", "version": "1.13.14"}, {"status": "affected", "version": "1.13.16"}, {"status": "affected", "version": "1.13.17"}, {"status": "affected", "version": "1.13.18"}, {"status": "affected", "version": "1.13.19"}, {"status": "affected", "version": "1.13.25"}, {"status": "affected", "version": "1.13.5"}, {"status": "affected", "version": "1.14"}, {"status": "affected", "version": "1.14.90"}, {"status": "affected", "version": "1.15"}, {"status": "affected", "version": "1.15.1"}, {"status": "affected", "version": "1.15.90"}, {"status": "affected", "version": "1.15.91"}, {"status": "affected", "version": "1.16"}], "platforms": ["cpe:2.3:o:redhat:enterprise_linux:4.0:*:as:*:*:*:*:*", "cpe:2.3:o:redhat:enterprise_linux:4.0:*:desktop:*:*:*:*:*", "cpe:2.3:o:redhat:enterprise_linux:4.0:*:es:*:*:*:*:*", "cpe:2.3:o:redhat:enterprise_linux:4.0:*:ws:*:*:*:*:*", "cpe:2.3:o:redhat:enterprise_linux:5.0:*:server:*:*:*:*:*", "cpe:2.3:o:redhat:enterprise_linux_desktop:5.0:*:client:*:*:*:*:*", "cpe:2.3:o:rpath:rpath_linux:1:*:*:*:*:*:*:*"], "defaultStatus": "unaffected"}], "references": [{"url": "http://www.redhat.com/support/errata/RHSA-2007-0860.html", "tags": ["patch"]}, {"url": "http://www.us-cert.gov/cas/techalerts/TA07-352A.html", "tags": ["x_us-government-resource"]}, {"url": "http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=251921"}, {"url": "http://docs.info.apple.com/article.html?artnum=307179"}, {"url": "http://lists.apple.com/archives/security-announce/2007/Dec/msg00002.html"}, {"url": "http://secunia.com/advisories/26573"}, {"url": "http://secunia.com/advisories/26590"}, {"url": "http://secunia.com/advisories/26603"}, {"url": "http://secunia.com/advisories/26604"}, {"url": "http://secunia.com/advisories/26655"}, {"url": "http://secunia.com/advisories/26673"}, {"url": "http://secunia.com/advisories/26674"}, {"url": "http://secunia.com/advisories/26781"}, {"url": "http://secunia.com/advisories/26822"}, {"url": "http://secunia.com/advisories/26984"}, {"url": "http://secunia.com/advisories/27453"}, {"url": "http://secunia.com/advisories/27861"}, {"url": "http://secunia.com/advisories/28136"}, {"url": "http://secunia.com/advisories/28255"}, {"url": "http://security.FreeBSD.org/advisories/FreeBSD-SA-07:10.gtar.asc"}, {"url": "http://security.gentoo.org/glsa/glsa-200709-09.xml"}, {"url": "http://sunsolve.sun.com/search/document.do?assetkey=1-77-1021680.1-1"}, {"url": "http://support.avaya.com/elmodocs2/security/ASA-2007-383.htm"}, {"url": "http://www.debian.org/security/2007/dsa-1438"}, {"url": "http://www.mandriva.com/security/advisories?name=MDKSA-2007:173"}, {"url": "http://www.novell.com/linux/security/advisories/2007_18_sr.html"}, {"url": "http://www.securityfocus.com/archive/1/477731/100/0/threaded"}, {"url": "http://www.securityfocus.com/archive/1/477865/100/0/threaded"}, {"url": "http://www.securityfocus.com/bid/25417"}, {"url": "http://www.securitytracker.com/id?1018599"}, {"url": "http://www.trustix.org/errata/2007/0026/"}, {"url": "http://www.ubuntu.com/usn/usn-506-1"}, {"url": "http://www.vupen.com/english/advisories/2007/2958"}, {"url": "http://www.vupen.com/english/advisories/2007/4238"}, {"url": "https://issues.rpath.com/browse/RPL-1631"}, {"url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10420"}, {"url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A7779"}, {"url": "https://www.redhat.com/archives/fedora-package-announce/2007-October/msg00370.html"}], "descriptions": [{"lang": "en", "value": "Directory traversal vulnerability in the contains_dot_dot function in src/names.c in GNU tar allows user-assisted remote attackers to overwrite arbitrary files via certain //.. (slash slash dot dot) sequences in directory symlinks in a TAR archive."}, {"lang": "es", "value": "Vulnerabilidad de salto de directorio en la función contains_dot_dot de src/names.c en GNU tar permite a atacantes remotos con la complicidad del usuario sobre-escribir ficheros de su elección mediante determinadas secuencias //.. (barra barra punto punto) en los enlaces simbólicos de directorio en un fichero TAR."}], "problemTypes": [{"descriptions": [{"lang": "en", "description": "NVD-CWE-Other"}]}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000003", "shortName": "nvd", "dateUpdated": "2007-08-25T00:17:00Z", "x_subShortName": "nvd"}}}, "cveMetadata": {"cveId": "CVE-2007-4131", "state": "PUBLISHED", "dateUpdated": "2025-04-09T00:30:58Z", "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749", "datePublished": "2007-08-25T00:17:00Z", "assignerShortName": "redhat"}, "dataVersion": "5.0"}