gsd-2011-4944
Vulnerability from gsd
Modified
2023-12-13 01:19
Details
Python 2.6 through 3.2 creates ~/.pypirc with world-readable permissions before changing them after data has been written, which introduces a race condition that allows local users to obtain a username and password by reading this file.
Aliases
Aliases



{
  "GSD": {
    "alias": "CVE-2011-4944",
    "description": "Python 2.6 through 3.2 creates ~/.pypirc with world-readable permissions before changing them after data has been written, which introduces a race condition that allows local users to obtain a username and password by reading this file.",
    "id": "GSD-2011-4944",
    "references": [
      "https://www.suse.com/security/cve/CVE-2011-4944.html",
      "https://access.redhat.com/errata/RHSA-2012:0745",
      "https://access.redhat.com/errata/RHSA-2012:0744",
      "https://alas.aws.amazon.com/cve/html/CVE-2011-4944.html",
      "https://linux.oracle.com/cve/CVE-2011-4944.html"
    ]
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2011-4944"
      ],
      "details": "Python 2.6 through 3.2 creates ~/.pypirc with world-readable permissions before changing them after data has been written, which introduces a race condition that allows local users to obtain a username and password by reading this file.",
      "id": "GSD-2011-4944",
      "modified": "2023-12-13T01:19:06.091394Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "secalert@redhat.com",
        "ID": "CVE-2011-4944",
        "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": "Python 2.6 through 3.2 creates ~/.pypirc with world-readable permissions before changing them after data has been written, which introduces a race condition that allows local users to obtain a username and password by reading this file."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "n/a"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "http://secunia.com/advisories/50858",
            "refsource": "MISC",
            "url": "http://secunia.com/advisories/50858"
          },
          {
            "name": "http://secunia.com/advisories/51024",
            "refsource": "MISC",
            "url": "http://secunia.com/advisories/51024"
          },
          {
            "name": "http://secunia.com/advisories/51040",
            "refsource": "MISC",
            "url": "http://secunia.com/advisories/51040"
          },
          {
            "name": "http://secunia.com/advisories/51087",
            "refsource": "MISC",
            "url": "http://secunia.com/advisories/51087"
          },
          {
            "name": "http://www.ubuntu.com/usn/USN-1596-1",
            "refsource": "MISC",
            "url": "http://www.ubuntu.com/usn/USN-1596-1"
          },
          {
            "name": "http://www.ubuntu.com/usn/USN-1613-1",
            "refsource": "MISC",
            "url": "http://www.ubuntu.com/usn/USN-1613-1"
          },
          {
            "name": "http://www.ubuntu.com/usn/USN-1613-2",
            "refsource": "MISC",
            "url": "http://www.ubuntu.com/usn/USN-1613-2"
          },
          {
            "name": "http://www.ubuntu.com/usn/USN-1616-1",
            "refsource": "MISC",
            "url": "http://www.ubuntu.com/usn/USN-1616-1"
          },
          {
            "name": "http://lists.apple.com/archives/security-announce/2013/Oct/msg00004.html",
            "refsource": "MISC",
            "url": "http://lists.apple.com/archives/security-announce/2013/Oct/msg00004.html"
          },
          {
            "name": "http://www.ubuntu.com/usn/USN-1592-1",
            "refsource": "MISC",
            "url": "http://www.ubuntu.com/usn/USN-1592-1"
          },
          {
            "name": "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=650555",
            "refsource": "MISC",
            "url": "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=650555"
          },
          {
            "name": "http://bugs.python.org/file23824/pypirc-secure.diff",
            "refsource": "MISC",
            "url": "http://bugs.python.org/file23824/pypirc-secure.diff"
          },
          {
            "name": "http://bugs.python.org/issue13512",
            "refsource": "MISC",
            "url": "http://bugs.python.org/issue13512"
          },
          {
            "name": "http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html",
            "refsource": "MISC",
            "url": "http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html"
          },
          {
            "name": "http://secunia.com/advisories/51089",
            "refsource": "MISC",
            "url": "http://secunia.com/advisories/51089"
          },
          {
            "name": "http://www.openwall.com/lists/oss-security/2012/03/27/10",
            "refsource": "MISC",
            "url": "http://www.openwall.com/lists/oss-security/2012/03/27/10"
          },
          {
            "name": "http://www.openwall.com/lists/oss-security/2012/03/27/2",
            "refsource": "MISC",
            "url": "http://www.openwall.com/lists/oss-security/2012/03/27/2"
          },
          {
            "name": "http://www.openwall.com/lists/oss-security/2012/03/27/5",
            "refsource": "MISC",
            "url": "http://www.openwall.com/lists/oss-security/2012/03/27/5"
          },
          {
            "name": "http://www.ubuntu.com/usn/USN-1615-1",
            "refsource": "MISC",
            "url": "http://www.ubuntu.com/usn/USN-1615-1"
          },
          {
            "name": "https://bugzilla.redhat.com/show_bug.cgi?id=758905",
            "refsource": "MISC",
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=758905"
          }
        ]
      }
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:python:python:2.6.2:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:python:python:2.6.5:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:python:python:2.7.2:rc1:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:python:python:2.7.1:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:python:python:3.2:alpha:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:python:python:3.2:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:python:python:2.6.2150:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:python:python:2.6.6:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:python:python:2.6.4:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:python:python:2.7.2150:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:python:python:3.0.1:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:python:python:3.0:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:python:python:2.6.7:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:python:python:2.6.8:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:python:python:2.6.1:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:python:python:2.6.3:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:python:python:2.7.1150:*:*:*:*:*:x64:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:python:python:3.1.2:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:python:python:3.1.1:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:python:python:3.1.4:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:python:python:3.1.3:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:python:python:2.6.6150:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:python:python:2.7.1:rc1:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:python:python:2.7.1150:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:python:python:3.1.2150:*:*:*:*:*:x64:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:python:python:3.1:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:python:python:2.7.3:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:python:python:3.1.5:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "secalert@redhat.com",
          "ID": "CVE-2011-4944"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "Python 2.6 through 3.2 creates ~/.pypirc with world-readable permissions before changing them after data has been written, which introduces a race condition that allows local users to obtain a username and password by reading this file."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-264"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "[oss-security] 20120327 Re: CVE request: distutils creates ~/.pypirc insecurely",
              "refsource": "MLIST",
              "tags": [],
              "url": "http://www.openwall.com/lists/oss-security/2012/03/27/10"
            },
            {
              "name": "[oss-security] 20120327 CVE request: distutils creates ~/.pypirc insecurely",
              "refsource": "MLIST",
              "tags": [],
              "url": "http://www.openwall.com/lists/oss-security/2012/03/27/2"
            },
            {
              "name": "https://bugzilla.redhat.com/show_bug.cgi?id=758905",
              "refsource": "MISC",
              "tags": [],
              "url": "https://bugzilla.redhat.com/show_bug.cgi?id=758905"
            },
            {
              "name": "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=650555",
              "refsource": "MISC",
              "tags": [],
              "url": "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=650555"
            },
            {
              "name": "http://bugs.python.org/issue13512",
              "refsource": "CONFIRM",
              "tags": [],
              "url": "http://bugs.python.org/issue13512"
            },
            {
              "name": "http://bugs.python.org/file23824/pypirc-secure.diff",
              "refsource": "CONFIRM",
              "tags": [],
              "url": "http://bugs.python.org/file23824/pypirc-secure.diff"
            },
            {
              "name": "[oss-security] 20120327 Re: CVE request: distutils creates ~/.pypirc insecurely",
              "refsource": "MLIST",
              "tags": [],
              "url": "http://www.openwall.com/lists/oss-security/2012/03/27/5"
            },
            {
              "name": "USN-1596-1",
              "refsource": "UBUNTU",
              "tags": [],
              "url": "http://www.ubuntu.com/usn/USN-1596-1"
            },
            {
              "name": "USN-1613-2",
              "refsource": "UBUNTU",
              "tags": [],
              "url": "http://www.ubuntu.com/usn/USN-1613-2"
            },
            {
              "name": "USN-1613-1",
              "refsource": "UBUNTU",
              "tags": [],
              "url": "http://www.ubuntu.com/usn/USN-1613-1"
            },
            {
              "name": "USN-1592-1",
              "refsource": "UBUNTU",
              "tags": [],
              "url": "http://www.ubuntu.com/usn/USN-1592-1"
            },
            {
              "name": "USN-1615-1",
              "refsource": "UBUNTU",
              "tags": [],
              "url": "http://www.ubuntu.com/usn/USN-1615-1"
            },
            {
              "name": "51089",
              "refsource": "SECUNIA",
              "tags": [],
              "url": "http://secunia.com/advisories/51089"
            },
            {
              "name": "51040",
              "refsource": "SECUNIA",
              "tags": [],
              "url": "http://secunia.com/advisories/51040"
            },
            {
              "name": "50858",
              "refsource": "SECUNIA",
              "tags": [],
              "url": "http://secunia.com/advisories/50858"
            },
            {
              "name": "USN-1616-1",
              "refsource": "UBUNTU",
              "tags": [],
              "url": "http://www.ubuntu.com/usn/USN-1616-1"
            },
            {
              "name": "51087",
              "refsource": "SECUNIA",
              "tags": [],
              "url": "http://secunia.com/advisories/51087"
            },
            {
              "name": "51024",
              "refsource": "SECUNIA",
              "tags": [],
              "url": "http://secunia.com/advisories/51024"
            },
            {
              "name": "APPLE-SA-2013-10-22-3",
              "refsource": "APPLE",
              "tags": [],
              "url": "http://lists.apple.com/archives/security-announce/2013/Oct/msg00004.html"
            },
            {
              "name": "openSUSE-SU-2020:0086",
              "refsource": "SUSE",
              "tags": [],
              "url": "http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "cvssV2": {
            "accessComplexity": "MEDIUM",
            "accessVector": "LOCAL",
            "authentication": "NONE",
            "availabilityImpact": "NONE",
            "baseScore": 1.9,
            "confidentialityImpact": "PARTIAL",
            "integrityImpact": "NONE",
            "vectorString": "AV:L/AC:M/Au:N/C:P/I:N/A:N",
            "version": "2.0"
          },
          "exploitabilityScore": 3.4,
          "impactScore": 2.9,
          "obtainAllPrivilege": false,
          "obtainOtherPrivilege": false,
          "obtainUserPrivilege": false,
          "severity": "LOW",
          "userInteractionRequired": false
        }
      },
      "lastModifiedDate": "2019-10-25T11:53Z",
      "publishedDate": "2012-08-27T23:55Z"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

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.