GSD-2014-0012

Vulnerability from gsd - Updated: 2023-12-13 01:22
Details
FileSystemBytecodeCache in Jinja2 2.7.2 does not properly create temporary directories, which allows local users to gain privileges by pre-creating a temporary directory with a user's uid. NOTE: this vulnerability exists because of an incomplete fix for CVE-2014-1402.
Aliases
Aliases

{
  "GSD": {
    "alias": "CVE-2014-0012",
    "description": "FileSystemBytecodeCache in Jinja2 2.7.2 does not properly create temporary directories, which allows local users to gain privileges by pre-creating a temporary directory with a user\u0027s uid.  NOTE: this vulnerability exists because of an incomplete fix for CVE-2014-1402.",
    "id": "GSD-2014-0012",
    "references": [
      "https://www.suse.com/security/cve/CVE-2014-0012.html"
    ]
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2014-0012"
      ],
      "details": "FileSystemBytecodeCache in Jinja2 2.7.2 does not properly create temporary directories, which allows local users to gain privileges by pre-creating a temporary directory with a user\u0027s uid. NOTE: this vulnerability exists because of an incomplete fix for CVE-2014-1402.",
      "id": "GSD-2014-0012",
      "modified": "2023-12-13T01:22:43.822200Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "secalert@redhat.com",
        "ID": "CVE-2014-0012",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "n/a",
                    "version": {
                      "version_data": [
                        {
                          "version_affected": "=",
                          "version_value": "n/a"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "n/a"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "FileSystemBytecodeCache in Jinja2 2.7.2 does not properly create temporary directories, which allows local users to gain privileges by pre-creating a temporary directory with a user\u0027s uid. NOTE: this vulnerability exists because of an incomplete fix for CVE-2014-1402."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "n/a"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "http://seclists.org/oss-sec/2014/q1/73",
            "refsource": "MISC",
            "url": "http://seclists.org/oss-sec/2014/q1/73"
          },
          {
            "name": "http://secunia.com/advisories/56328",
            "refsource": "MISC",
            "url": "http://secunia.com/advisories/56328"
          },
          {
            "name": "http://secunia.com/advisories/60738",
            "refsource": "MISC",
            "url": "http://secunia.com/advisories/60738"
          },
          {
            "name": "http://www.gentoo.org/security/en/glsa/glsa-201408-13.xml",
            "refsource": "MISC",
            "url": "http://www.gentoo.org/security/en/glsa/glsa-201408-13.xml"
          },
          {
            "name": "https://bugzilla.redhat.com/show_bug.cgi?id=1051421",
            "refsource": "MISC",
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1051421"
          },
          {
            "name": "https://github.com/mitsuhiko/jinja2/commit/acb672b6a179567632e032f547582f30fa2f4aa7",
            "refsource": "MISC",
            "url": "https://github.com/mitsuhiko/jinja2/commit/acb672b6a179567632e032f547582f30fa2f4aa7"
          },
          {
            "name": "https://github.com/mitsuhiko/jinja2/pull/292",
            "refsource": "MISC",
            "url": "https://github.com/mitsuhiko/jinja2/pull/292"
          },
          {
            "name": "https://github.com/mitsuhiko/jinja2/pull/296",
            "refsource": "MISC",
            "url": "https://github.com/mitsuhiko/jinja2/pull/296"
          }
        ]
      }
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003c2.7.2",
          "affected_versions": "All versions before 2.7.2",
          "cvss_v2": "AV:L/AC:M/Au:N/C:P/I:P/A:P",
          "cwe_ids": [
            "CWE-1035",
            "CWE-264",
            "CWE-937"
          ],
          "date": "2023-02-14",
          "description": "FileSystemBytecodeCache in Jinja2 2.7.2 does not properly create temporary directories, which allows local users to gain privileges by pre-creating a temporary directory with a user\u0027s uid. NOTE: this vulnerability exists because of an incomplete fix for CVE-2014-1402.",
          "fixed_versions": [
            "2.7.2"
          ],
          "identifier": "CVE-2014-0012",
          "identifiers": [
            "GHSA-fqh9-2qgg-h84h",
            "CVE-2014-0012"
          ],
          "not_impacted": "All versions starting from 2.7.2",
          "package_slug": "pypi/Jinja2",
          "pubdate": "2022-05-17",
          "solution": "Upgrade to version 2.7.2 or above.",
          "title": "Insecure Temporary File in Jinja2",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2014-0012",
            "https://bugzilla.redhat.com/show_bug.cgi?id=1051421",
            "http://seclists.org/oss-sec/2014/q1/73",
            "http://www.gentoo.org/security/en/glsa/glsa-201408-13.xml",
            "https://github.com/pallets/jinja2/pull/292",
            "https://github.com/pallets/jinja2/pull/296",
            "https://github.com/pallets/jinja/commit/acb672b6a179567632e032f547582f30fa2f4aa7",
            "https://github.com/advisories/GHSA-fqh9-2qgg-h84h"
          ],
          "uuid": "fcc9447f-51ea-4dc8-aee2-d5661d6e0e75"
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:pocoo:jinja2:2.7.2:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "secalert@redhat.com",
          "ID": "CVE-2014-0012"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "FileSystemBytecodeCache in Jinja2 2.7.2 does not properly create temporary directories, which allows local users to gain privileges by pre-creating a temporary directory with a user\u0027s uid. NOTE: this vulnerability exists because of an incomplete fix for CVE-2014-1402."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-264"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://bugzilla.redhat.com/show_bug.cgi?id=1051421",
              "refsource": "MISC",
              "tags": [],
              "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1051421"
            },
            {
              "name": "https://github.com/mitsuhiko/jinja2/pull/292",
              "refsource": "MISC",
              "tags": [],
              "url": "https://github.com/mitsuhiko/jinja2/pull/292"
            },
            {
              "name": "https://github.com/mitsuhiko/jinja2/commit/acb672b6a179567632e032f547582f30fa2f4aa7",
              "refsource": "MISC",
              "tags": [
                "Exploit",
                "Patch"
              ],
              "url": "https://github.com/mitsuhiko/jinja2/commit/acb672b6a179567632e032f547582f30fa2f4aa7"
            },
            {
              "name": "[oss-security] 20140110 CVE assignment for jinja2",
              "refsource": "MLIST",
              "tags": [],
              "url": "http://seclists.org/oss-sec/2014/q1/73"
            },
            {
              "name": "https://github.com/mitsuhiko/jinja2/pull/296",
              "refsource": "MISC",
              "tags": [],
              "url": "https://github.com/mitsuhiko/jinja2/pull/296"
            },
            {
              "name": "60738",
              "refsource": "SECUNIA",
              "tags": [],
              "url": "http://secunia.com/advisories/60738"
            },
            {
              "name": "GLSA-201408-13",
              "refsource": "GENTOO",
              "tags": [],
              "url": "http://www.gentoo.org/security/en/glsa/glsa-201408-13.xml"
            },
            {
              "name": "56328",
              "refsource": "SECUNIA",
              "tags": [],
              "url": "http://secunia.com/advisories/56328"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "cvssV2": {
            "accessComplexity": "MEDIUM",
            "accessVector": "LOCAL",
            "authentication": "NONE",
            "availabilityImpact": "PARTIAL",
            "baseScore": 4.4,
            "confidentialityImpact": "PARTIAL",
            "integrityImpact": "PARTIAL",
            "vectorString": "AV:L/AC:M/Au:N/C:P/I:P/A:P",
            "version": "2.0"
          },
          "exploitabilityScore": 3.4,
          "impactScore": 6.4,
          "obtainAllPrivilege": false,
          "obtainOtherPrivilege": false,
          "obtainUserPrivilege": false,
          "severity": "MEDIUM",
          "userInteractionRequired": false
        }
      },
      "lastModifiedDate": "2023-02-13T00:29Z",
      "publishedDate": "2014-05-19T14:55Z"
    }
  }
}



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…

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…