CVE-2014-1402 (GCVE-0-2014-1402)
Vulnerability from cvelistv5
Published
2014-05-19 14:00
Modified
2024-08-06 09:42
Severity ?
VLAI Severity ?
EPSS score ?
CWE
- n/a
Summary
The default configuration for bccache.FileSystemBytecodeCache in Jinja2 before 2.7.2 does not properly create temporary files, which allows local users to gain privileges via a crafted .cache file with a name starting with __jinja2_ in /tmp.
References
{ "containers": { "adp": [ { "providerMetadata": { "dateUpdated": "2024-08-06T09:42:35.316Z", "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE" }, "references": [ { "name": "[El-errata] 20140611 Oracle Linux Security Advisory ELSA-2014-0747", "tags": [ "mailing-list", "x_refsource_MLIST", "x_transferred" ], "url": "https://oss.oracle.com/pipermail/el-errata/2014-June/004192.html" }, { "name": "[oss-security] 20140110 Re: CVE Request: python-jinja2: arbitrary code execution vulnerability", "tags": [ "mailing-list", "x_refsource_MLIST", "x_transferred" ], "url": "http://openwall.com/lists/oss-security/2014/01/10/3" }, { "name": "59017", "tags": [ "third-party-advisory", "x_refsource_SECUNIA", "x_transferred" ], "url": "http://secunia.com/advisories/59017" }, { "name": "56287", "tags": [ "third-party-advisory", "x_refsource_SECUNIA", "x_transferred" ], "url": "http://secunia.com/advisories/56287" }, { "name": "MDVSA-2014:096", "tags": [ "vendor-advisory", "x_refsource_MANDRIVA", "x_transferred" ], "url": "http://www.mandriva.com/security/advisories?name=MDVSA-2014:096" }, { "name": "58783", "tags": [ "third-party-advisory", "x_refsource_SECUNIA", "x_transferred" ], "url": "http://secunia.com/advisories/58783" }, { "name": "58918", "tags": [ "third-party-advisory", "x_refsource_SECUNIA", "x_transferred" ], "url": "http://secunia.com/advisories/58918" }, { "name": "60738", "tags": [ "third-party-advisory", "x_refsource_SECUNIA", "x_transferred" ], "url": "http://secunia.com/advisories/60738" }, { "tags": [ "x_refsource_CONFIRM", "x_transferred" ], "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734747" }, { "tags": [ "x_refsource_CONFIRM", "x_transferred" ], "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1051421" }, { "name": "60770", "tags": [ "third-party-advisory", "x_refsource_SECUNIA", "x_transferred" ], "url": "http://secunia.com/advisories/60770" }, { "name": "RHSA-2014:0747", "tags": [ "vendor-advisory", "x_refsource_REDHAT", "x_transferred" ], "url": "http://rhn.redhat.com/errata/RHSA-2014-0747.html" }, { "tags": [ "x_refsource_CONFIRM", "x_transferred" ], "url": "http://jinja.pocoo.org/docs/changelog/" }, { "name": "GLSA-201408-13", "tags": [ "vendor-advisory", "x_refsource_GENTOO", "x_transferred" ], "url": "http://www.gentoo.org/security/en/glsa/glsa-201408-13.xml" }, { "name": "[oss-security] 20140110 CVE Request: python-jinja2: arbitrary code execution vulnerability", "tags": [ "mailing-list", "x_refsource_MLIST", "x_transferred" ], "url": "http://openwall.com/lists/oss-security/2014/01/10/2" }, { "tags": [ "x_refsource_CONFIRM", "x_transferred" ], "url": "http://advisories.mageia.org/MGASA-2014-0028.html" }, { "name": "RHSA-2014:0748", "tags": [ "vendor-advisory", "x_refsource_REDHAT", "x_transferred" ], "url": "http://rhn.redhat.com/errata/RHSA-2014-0748.html" } ], "title": "CVE Program Container" } ], "cna": { "affected": [ { "product": "n/a", "vendor": "n/a", "versions": [ { "status": "affected", "version": "n/a" } ] } ], "datePublic": "2014-01-09T00:00:00", "descriptions": [ { "lang": "en", "value": "The default configuration for bccache.FileSystemBytecodeCache in Jinja2 before 2.7.2 does not properly create temporary files, which allows local users to gain privileges via a crafted .cache file with a name starting with __jinja2_ in /tmp." } ], "problemTypes": [ { "descriptions": [ { "description": "n/a", "lang": "en", "type": "text" } ] } ], "providerMetadata": { "dateUpdated": "2017-12-21T15:57:01", "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca", "shortName": "mitre" }, "references": [ { "name": "[El-errata] 20140611 Oracle Linux Security Advisory ELSA-2014-0747", "tags": [ "mailing-list", "x_refsource_MLIST" ], "url": "https://oss.oracle.com/pipermail/el-errata/2014-June/004192.html" }, { "name": "[oss-security] 20140110 Re: CVE Request: python-jinja2: arbitrary code execution vulnerability", "tags": [ "mailing-list", "x_refsource_MLIST" ], "url": "http://openwall.com/lists/oss-security/2014/01/10/3" }, { "name": "59017", "tags": [ "third-party-advisory", "x_refsource_SECUNIA" ], "url": "http://secunia.com/advisories/59017" }, { "name": "56287", "tags": [ "third-party-advisory", "x_refsource_SECUNIA" ], "url": "http://secunia.com/advisories/56287" }, { "name": "MDVSA-2014:096", "tags": [ "vendor-advisory", "x_refsource_MANDRIVA" ], "url": "http://www.mandriva.com/security/advisories?name=MDVSA-2014:096" }, { "name": "58783", "tags": [ "third-party-advisory", "x_refsource_SECUNIA" ], "url": "http://secunia.com/advisories/58783" }, { "name": "58918", "tags": [ "third-party-advisory", "x_refsource_SECUNIA" ], "url": "http://secunia.com/advisories/58918" }, { "name": "60738", "tags": [ "third-party-advisory", "x_refsource_SECUNIA" ], "url": "http://secunia.com/advisories/60738" }, { "tags": [ "x_refsource_CONFIRM" ], "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734747" }, { "tags": [ "x_refsource_CONFIRM" ], "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1051421" }, { "name": "60770", "tags": [ "third-party-advisory", "x_refsource_SECUNIA" ], "url": "http://secunia.com/advisories/60770" }, { "name": "RHSA-2014:0747", "tags": [ "vendor-advisory", "x_refsource_REDHAT" ], "url": "http://rhn.redhat.com/errata/RHSA-2014-0747.html" }, { "tags": [ "x_refsource_CONFIRM" ], "url": "http://jinja.pocoo.org/docs/changelog/" }, { "name": "GLSA-201408-13", "tags": [ "vendor-advisory", "x_refsource_GENTOO" ], "url": "http://www.gentoo.org/security/en/glsa/glsa-201408-13.xml" }, { "name": "[oss-security] 20140110 CVE Request: python-jinja2: arbitrary code execution vulnerability", "tags": [ "mailing-list", "x_refsource_MLIST" ], "url": "http://openwall.com/lists/oss-security/2014/01/10/2" }, { "tags": [ "x_refsource_CONFIRM" ], "url": "http://advisories.mageia.org/MGASA-2014-0028.html" }, { "name": "RHSA-2014:0748", "tags": [ "vendor-advisory", "x_refsource_REDHAT" ], "url": "http://rhn.redhat.com/errata/RHSA-2014-0748.html" } ], "x_legacyV4Record": { "CVE_data_meta": { "ASSIGNER": "cve@mitre.org", "ID": "CVE-2014-1402", "STATE": "PUBLIC" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "n/a", "version": { "version_data": [ { "version_value": "n/a" } ] } } ] }, "vendor_name": "n/a" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "The default configuration for bccache.FileSystemBytecodeCache in Jinja2 before 2.7.2 does not properly create temporary files, which allows local users to gain privileges via a crafted .cache file with a name starting with __jinja2_ in /tmp." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "n/a" } ] } ] }, "references": { "reference_data": [ { "name": "[El-errata] 20140611 Oracle Linux Security Advisory ELSA-2014-0747", "refsource": "MLIST", "url": "https://oss.oracle.com/pipermail/el-errata/2014-June/004192.html" }, { "name": "[oss-security] 20140110 Re: CVE Request: python-jinja2: arbitrary code execution vulnerability", "refsource": "MLIST", "url": "http://openwall.com/lists/oss-security/2014/01/10/3" }, { "name": "59017", "refsource": "SECUNIA", "url": "http://secunia.com/advisories/59017" }, { "name": "56287", "refsource": "SECUNIA", "url": "http://secunia.com/advisories/56287" }, { "name": "MDVSA-2014:096", "refsource": "MANDRIVA", "url": "http://www.mandriva.com/security/advisories?name=MDVSA-2014:096" }, { "name": "58783", "refsource": "SECUNIA", "url": "http://secunia.com/advisories/58783" }, { "name": "58918", "refsource": "SECUNIA", "url": "http://secunia.com/advisories/58918" }, { "name": "60738", "refsource": "SECUNIA", "url": "http://secunia.com/advisories/60738" }, { "name": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734747", "refsource": "CONFIRM", "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734747" }, { "name": "https://bugzilla.redhat.com/show_bug.cgi?id=1051421", "refsource": "CONFIRM", "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1051421" }, { "name": "60770", "refsource": "SECUNIA", "url": "http://secunia.com/advisories/60770" }, { "name": "RHSA-2014:0747", "refsource": "REDHAT", "url": "http://rhn.redhat.com/errata/RHSA-2014-0747.html" }, { "name": "http://jinja.pocoo.org/docs/changelog/", "refsource": "CONFIRM", "url": "http://jinja.pocoo.org/docs/changelog/" }, { "name": "GLSA-201408-13", "refsource": "GENTOO", "url": "http://www.gentoo.org/security/en/glsa/glsa-201408-13.xml" }, { "name": "[oss-security] 20140110 CVE Request: python-jinja2: arbitrary code execution vulnerability", "refsource": "MLIST", "url": "http://openwall.com/lists/oss-security/2014/01/10/2" }, { "name": "http://advisories.mageia.org/MGASA-2014-0028.html", "refsource": "CONFIRM", "url": "http://advisories.mageia.org/MGASA-2014-0028.html" }, { "name": "RHSA-2014:0748", "refsource": "REDHAT", "url": "http://rhn.redhat.com/errata/RHSA-2014-0748.html" } ] } } } }, "cveMetadata": { "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca", "assignerShortName": "mitre", "cveId": "CVE-2014-1402", "datePublished": "2014-05-19T14:00:00", "dateReserved": "2014-01-10T00:00:00", "dateUpdated": "2024-08-06T09:42:35.316Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1", "vulnerability-lookup:meta": { "nvd": "{\"cve\":{\"id\":\"CVE-2014-1402\",\"sourceIdentifier\":\"cve@mitre.org\",\"published\":\"2014-05-19T14:55:11.517\",\"lastModified\":\"2025-04-12T10:46:40.837\",\"vulnStatus\":\"Deferred\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"The default configuration for bccache.FileSystemBytecodeCache in Jinja2 before 2.7.2 does not properly create temporary files, which allows local users to gain privileges via a crafted .cache file with a name starting with __jinja2_ in /tmp.\"},{\"lang\":\"es\",\"value\":\"La configuraci\u00f3n por defecto para bccache.FileSystemBytecodeCache en Jinja2 anterior a 2.7.2 no crea debidamente archivos temporales, lo que permite a usuarios locales ganar privilegios a trav\u00e9s de un archivo .cache manipulado con un nombre que empieza con __jinja2_ en /tmp.\"}],\"metrics\":{\"cvssMetricV2\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"2.0\",\"vectorString\":\"AV:L/AC:M/Au:N/C:P/I:P/A:P\",\"baseScore\":4.4,\"accessVector\":\"LOCAL\",\"accessComplexity\":\"MEDIUM\",\"authentication\":\"NONE\",\"confidentialityImpact\":\"PARTIAL\",\"integrityImpact\":\"PARTIAL\",\"availabilityImpact\":\"PARTIAL\"},\"baseSeverity\":\"MEDIUM\",\"exploitabilityScore\":3.4,\"impactScore\":6.4,\"acInsufInfo\":false,\"obtainAllPrivilege\":false,\"obtainUserPrivilege\":false,\"obtainOtherPrivilege\":false,\"userInteractionRequired\":false}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-264\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:pocoo:jinja2:*:*:*:*:*:*:*:*\",\"versionEndIncluding\":\"2.7.1\",\"matchCriteriaId\":\"C17F89C8-60E2-490D-ADDD-3A3C683DB5EC\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:pocoo:jinja2:2.0:-:*:*:*:*:*:*\",\"matchCriteriaId\":\"5962EB2E-DAEA-4A50-AFDB-162EEA220974\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:pocoo:jinja2:2.0:rc1:*:*:*:*:*:*\",\"matchCriteriaId\":\"69E6866B-D562-426B-A4FF-C78EDD04D8D3\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:pocoo:jinja2:2.1:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"46E4F0BF-0944-430D-BB84-B42E07F6C8A4\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:pocoo:jinja2:2.1.1:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"D164D2AA-4534-48D5-A90F-47C736FC3E6D\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:pocoo:jinja2:2.2:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"9B1BD2C2-88EB-4D86-8832-71E25F545218\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:pocoo:jinja2:2.2.1:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"BBE6DFCB-BE4D-4204-B666-D4D1EA2EA753\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:pocoo:jinja2:2.3:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"68085717-AA12-48C8-81AD-DA3ADB17B587\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:pocoo:jinja2:2.3.1:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"D5F7F6E7-584C-4F63-B98B-B71D0F3FDB0E\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:pocoo:jinja2:2.4:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"923F1074-8DB4-454A-BED4-F9BDD080DCC2\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:pocoo:jinja2:2.4.1:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"E5F020EA-89C9-4A36-A668-493143335391\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:pocoo:jinja2:2.5:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"4812CCD7-5A95-499A-BE99-DAD88EE14902\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:pocoo:jinja2:2.5.1:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"D4E4836B-3047-40A7-A60B-25EE0C7FB537\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:pocoo:jinja2:2.5.2:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"31D6EEDF-76C5-4A79-8035-60940E00E6F8\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:pocoo:jinja2:2.5.3:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"B95337AF-4991-4AAE-A9EA-BC881B094717\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:pocoo:jinja2:2.5.4:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"FB314640-C430-4B96-A31E-B98E6F7294F5\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:pocoo:jinja2:2.5.5:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"471D23E6-02A3-4390-89F7-4342DA18E3D7\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:pocoo:jinja2:2.6:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"0443DF18-E8AB-461C-BE64-EE0C6F00EE71\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:pocoo:jinja2:2.7:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"5173B0E3-F80C-4E9D-9487-CD849A93F258\"}]}]}],\"references\":[{\"url\":\"http://advisories.mageia.org/MGASA-2014-0028.html\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://jinja.pocoo.org/docs/changelog/\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://openwall.com/lists/oss-security/2014/01/10/2\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://openwall.com/lists/oss-security/2014/01/10/3\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://rhn.redhat.com/errata/RHSA-2014-0747.html\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://rhn.redhat.com/errata/RHSA-2014-0748.html\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://secunia.com/advisories/56287\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://secunia.com/advisories/58783\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://secunia.com/advisories/58918\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://secunia.com/advisories/59017\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://secunia.com/advisories/60738\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://secunia.com/advisories/60770\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://www.gentoo.org/security/en/glsa/glsa-201408-13.xml\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://www.mandriva.com/security/advisories?name=MDVSA-2014:096\",\"source\":\"cve@mitre.org\"},{\"url\":\"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734747\",\"source\":\"cve@mitre.org\"},{\"url\":\"https://bugzilla.redhat.com/show_bug.cgi?id=1051421\",\"source\":\"cve@mitre.org\"},{\"url\":\"https://oss.oracle.com/pipermail/el-errata/2014-June/004192.html\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://advisories.mageia.org/MGASA-2014-0028.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"http://jinja.pocoo.org/docs/changelog/\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"http://openwall.com/lists/oss-security/2014/01/10/2\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"http://openwall.com/lists/oss-security/2014/01/10/3\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"http://rhn.redhat.com/errata/RHSA-2014-0747.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"http://rhn.redhat.com/errata/RHSA-2014-0748.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"http://secunia.com/advisories/56287\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"http://secunia.com/advisories/58783\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"http://secunia.com/advisories/58918\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"http://secunia.com/advisories/59017\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"http://secunia.com/advisories/60738\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"http://secunia.com/advisories/60770\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"http://www.gentoo.org/security/en/glsa/glsa-201408-13.xml\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"http://www.mandriva.com/security/advisories?name=MDVSA-2014:096\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734747\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://bugzilla.redhat.com/show_bug.cgi?id=1051421\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://oss.oracle.com/pipermail/el-errata/2014-June/004192.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}" } }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…