cve-2014-0017
Vulnerability from cvelistv5
Published
2014-03-14 15:00
Modified
2024-08-06 08:58
Severity ?
Summary
The RAND_bytes function in libssh before 0.6.3, when forking is enabled, does not properly reset the state of the OpenSSL pseudo-random number generator (PRNG), which causes the state to be shared between children processes and allows local users to obtain sensitive information by leveraging a pid collision.
Impacted products
Vendor Product Version
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-06T08:58:26.568Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "name": "USN-2145-1",
            "tags": [
              "vendor-advisory",
              "x_refsource_UBUNTU",
              "x_transferred"
            ],
            "url": "http://www.ubuntu.com/usn/USN-2145-1"
          },
          {
            "name": "DSA-2879",
            "tags": [
              "vendor-advisory",
              "x_refsource_DEBIAN",
              "x_transferred"
            ],
            "url": "http://www.debian.org/security/2014/dsa-2879"
          },
          {
            "name": "openSUSE-SU-2014:0366",
            "tags": [
              "vendor-advisory",
              "x_refsource_SUSE",
              "x_transferred"
            ],
            "url": "http://lists.opensuse.org/opensuse-updates/2014-03/msg00036.html"
          },
          {
            "name": "57407",
            "tags": [
              "third-party-advisory",
              "x_refsource_SECUNIA",
              "x_transferred"
            ],
            "url": "http://secunia.com/advisories/57407"
          },
          {
            "name": "[oss-security] 20140305 libssh and stunnel PRNG flaws",
            "tags": [
              "mailing-list",
              "x_refsource_MLIST",
              "x_transferred"
            ],
            "url": "http://www.openwall.com/lists/oss-security/2014/03/05/1"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "http://www.libssh.org/2014/03/04/libssh-0-6-3-security-release/"
          },
          {
            "name": "openSUSE-SU-2014:0370",
            "tags": [
              "vendor-advisory",
              "x_refsource_SUSE",
              "x_transferred"
            ],
            "url": "http://lists.opensuse.org/opensuse-updates/2014-03/msg00040.html"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1072191"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "n/a",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ],
      "datePublic": "2014-03-04T00:00:00",
      "descriptions": [
        {
          "lang": "en",
          "value": "The RAND_bytes function in libssh before 0.6.3, when forking is enabled, does not properly reset the state of the OpenSSL pseudo-random number generator (PRNG), which causes the state to be shared between children processes and allows local users to obtain sensitive information by leveraging a pid collision."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "n/a",
              "lang": "en",
              "type": "text"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2014-03-17T13:57:00",
        "orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
        "shortName": "redhat"
      },
      "references": [
        {
          "name": "USN-2145-1",
          "tags": [
            "vendor-advisory",
            "x_refsource_UBUNTU"
          ],
          "url": "http://www.ubuntu.com/usn/USN-2145-1"
        },
        {
          "name": "DSA-2879",
          "tags": [
            "vendor-advisory",
            "x_refsource_DEBIAN"
          ],
          "url": "http://www.debian.org/security/2014/dsa-2879"
        },
        {
          "name": "openSUSE-SU-2014:0366",
          "tags": [
            "vendor-advisory",
            "x_refsource_SUSE"
          ],
          "url": "http://lists.opensuse.org/opensuse-updates/2014-03/msg00036.html"
        },
        {
          "name": "57407",
          "tags": [
            "third-party-advisory",
            "x_refsource_SECUNIA"
          ],
          "url": "http://secunia.com/advisories/57407"
        },
        {
          "name": "[oss-security] 20140305 libssh and stunnel PRNG flaws",
          "tags": [
            "mailing-list",
            "x_refsource_MLIST"
          ],
          "url": "http://www.openwall.com/lists/oss-security/2014/03/05/1"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "http://www.libssh.org/2014/03/04/libssh-0-6-3-security-release/"
        },
        {
          "name": "openSUSE-SU-2014:0370",
          "tags": [
            "vendor-advisory",
            "x_refsource_SUSE"
          ],
          "url": "http://lists.opensuse.org/opensuse-updates/2014-03/msg00040.html"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1072191"
        }
      ]
    }
  },
  "cveMetadata": {
    "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
    "assignerShortName": "redhat",
    "cveId": "CVE-2014-0017",
    "datePublished": "2014-03-14T15:00:00",
    "dateReserved": "2013-12-03T00:00:00",
    "dateUpdated": "2024-08-06T08:58:26.568Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "fkie_nvd": {
      "configurations": "[{\"nodes\": [{\"operator\": \"OR\", \"negate\": false, \"cpeMatch\": [{\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:*\", \"versionEndIncluding\": \"0.6.2\", \"matchCriteriaId\": \"F92F6AA4-B893-4A3C-8D00-AE4A607CFF76\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:libssh:libssh:0.4.7:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"EA0F1552-63D8-4E97-A44A-EF55E8A330B7\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:libssh:libssh:0.4.8:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"6514D889-F87F-44D1-9C7B-5BE75676DCFF\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:libssh:libssh:0.5.0:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"A80094C5-1273-43AB-9E1E-096D8B0A60BB\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:libssh:libssh:0.5.0:rc1:*:*:*:*:*:*\", \"matchCriteriaId\": \"CF67514C-3240-42A4-9996-21E855104C59\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:libssh:libssh:0.5.1:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"7BBD0BC3-2467-414E-BD82-2A5778B810F9\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:libssh:libssh:0.5.2:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"3D611A20-8A47-43DE-A6EC-90977C227C64\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:libssh:libssh:0.5.3:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"28074A59-84B3-417F-B18A-5979F940A027\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:libssh:libssh:0.5.4:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"4FDA1F32-B3D1-416B-BE64-8B80C99B9DB4\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:libssh:libssh:0.5.5:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"D4721CE8-E74D-42CF-AB75-E6F73A6F75BB\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:libssh:libssh:0.6.0:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"26F92DD2-760B-4C4A-9AA8-384327B8699A\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:libssh:libssh:0.6.1:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"388BE929-54F4-4058-B869-9E1663825AD6\"}]}]}]",
      "descriptions": "[{\"lang\": \"en\", \"value\": \"The RAND_bytes function in libssh before 0.6.3, when forking is enabled, does not properly reset the state of the OpenSSL pseudo-random number generator (PRNG), which causes the state to be shared between children processes and allows local users to obtain sensitive information by leveraging a pid collision.\"}, {\"lang\": \"es\", \"value\": \"La funci\\u00f3n RAND_bytes en libssh anterior a 0.6.3, cuando la creaci\\u00f3n de procesos (\\u201cforking\\u201d) est\\u00e1 habilitada, no restablece debidamente el estado del generador de n\\u00fameros pseudo-aleatorios OpenSSL (PRNG), lo que causa que el estado se comparte entre procesos de ni\\u00f1os y permite a usuarios locales obtener informaci\\u00f3n sensible mediante el aprovechamiento de una colisi\\u00f3n pid.\"}]",
      "id": "CVE-2014-0017",
      "lastModified": "2024-11-21T02:01:11.087",
      "metrics": "{\"cvssMetricV2\": [{\"source\": \"nvd@nist.gov\", \"type\": \"Primary\", \"cvssData\": {\"version\": \"2.0\", \"vectorString\": \"AV:L/AC:M/Au:N/C:P/I:N/A:N\", \"baseScore\": 1.9, \"accessVector\": \"LOCAL\", \"accessComplexity\": \"MEDIUM\", \"authentication\": \"NONE\", \"confidentialityImpact\": \"PARTIAL\", \"integrityImpact\": \"NONE\", \"availabilityImpact\": \"NONE\"}, \"baseSeverity\": \"LOW\", \"exploitabilityScore\": 3.4, \"impactScore\": 2.9, \"acInsufInfo\": false, \"obtainAllPrivilege\": false, \"obtainUserPrivilege\": false, \"obtainOtherPrivilege\": false, \"userInteractionRequired\": false}]}",
      "published": "2014-03-14T15:55:05.603",
      "references": "[{\"url\": \"http://lists.opensuse.org/opensuse-updates/2014-03/msg00036.html\", \"source\": \"secalert@redhat.com\"}, {\"url\": \"http://lists.opensuse.org/opensuse-updates/2014-03/msg00040.html\", \"source\": \"secalert@redhat.com\"}, {\"url\": \"http://secunia.com/advisories/57407\", \"source\": \"secalert@redhat.com\", \"tags\": [\"Vendor Advisory\"]}, {\"url\": \"http://www.debian.org/security/2014/dsa-2879\", \"source\": \"secalert@redhat.com\"}, {\"url\": \"http://www.libssh.org/2014/03/04/libssh-0-6-3-security-release/\", \"source\": \"secalert@redhat.com\", \"tags\": [\"Patch\", \"Vendor Advisory\"]}, {\"url\": \"http://www.openwall.com/lists/oss-security/2014/03/05/1\", \"source\": \"secalert@redhat.com\"}, {\"url\": \"http://www.ubuntu.com/usn/USN-2145-1\", \"source\": \"secalert@redhat.com\"}, {\"url\": \"https://bugzilla.redhat.com/show_bug.cgi?id=1072191\", \"source\": \"secalert@redhat.com\"}, {\"url\": \"http://lists.opensuse.org/opensuse-updates/2014-03/msg00036.html\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"http://lists.opensuse.org/opensuse-updates/2014-03/msg00040.html\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"http://secunia.com/advisories/57407\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Vendor Advisory\"]}, {\"url\": \"http://www.debian.org/security/2014/dsa-2879\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"http://www.libssh.org/2014/03/04/libssh-0-6-3-security-release/\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Patch\", \"Vendor Advisory\"]}, {\"url\": \"http://www.openwall.com/lists/oss-security/2014/03/05/1\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"http://www.ubuntu.com/usn/USN-2145-1\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"https://bugzilla.redhat.com/show_bug.cgi?id=1072191\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}]",
      "sourceIdentifier": "secalert@redhat.com",
      "vulnStatus": "Modified",
      "weaknesses": "[{\"source\": \"nvd@nist.gov\", \"type\": \"Primary\", \"description\": [{\"lang\": \"en\", \"value\": \"CWE-310\"}]}]"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2014-0017\",\"sourceIdentifier\":\"secalert@redhat.com\",\"published\":\"2014-03-14T15:55:05.603\",\"lastModified\":\"2024-11-21T02:01:11.087\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"The RAND_bytes function in libssh before 0.6.3, when forking is enabled, does not properly reset the state of the OpenSSL pseudo-random number generator (PRNG), which causes the state to be shared between children processes and allows local users to obtain sensitive information by leveraging a pid collision.\"},{\"lang\":\"es\",\"value\":\"La funci\u00f3n RAND_bytes en libssh anterior a 0.6.3, cuando la creaci\u00f3n de procesos (\u201cforking\u201d) est\u00e1 habilitada, no restablece debidamente el estado del generador de n\u00fameros pseudo-aleatorios OpenSSL (PRNG), lo que causa que el estado se comparte entre procesos de ni\u00f1os y permite a usuarios locales obtener informaci\u00f3n sensible mediante el aprovechamiento de una colisi\u00f3n pid.\"}],\"metrics\":{\"cvssMetricV2\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"2.0\",\"vectorString\":\"AV:L/AC:M/Au:N/C:P/I:N/A:N\",\"baseScore\":1.9,\"accessVector\":\"LOCAL\",\"accessComplexity\":\"MEDIUM\",\"authentication\":\"NONE\",\"confidentialityImpact\":\"PARTIAL\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"NONE\"},\"baseSeverity\":\"LOW\",\"exploitabilityScore\":3.4,\"impactScore\":2.9,\"acInsufInfo\":false,\"obtainAllPrivilege\":false,\"obtainUserPrivilege\":false,\"obtainOtherPrivilege\":false,\"userInteractionRequired\":false}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-310\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:*\",\"versionEndIncluding\":\"0.6.2\",\"matchCriteriaId\":\"F92F6AA4-B893-4A3C-8D00-AE4A607CFF76\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:libssh:libssh:0.4.7:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"EA0F1552-63D8-4E97-A44A-EF55E8A330B7\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:libssh:libssh:0.4.8:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"6514D889-F87F-44D1-9C7B-5BE75676DCFF\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:libssh:libssh:0.5.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"A80094C5-1273-43AB-9E1E-096D8B0A60BB\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:libssh:libssh:0.5.0:rc1:*:*:*:*:*:*\",\"matchCriteriaId\":\"CF67514C-3240-42A4-9996-21E855104C59\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:libssh:libssh:0.5.1:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"7BBD0BC3-2467-414E-BD82-2A5778B810F9\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:libssh:libssh:0.5.2:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"3D611A20-8A47-43DE-A6EC-90977C227C64\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:libssh:libssh:0.5.3:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"28074A59-84B3-417F-B18A-5979F940A027\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:libssh:libssh:0.5.4:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"4FDA1F32-B3D1-416B-BE64-8B80C99B9DB4\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:libssh:libssh:0.5.5:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"D4721CE8-E74D-42CF-AB75-E6F73A6F75BB\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:libssh:libssh:0.6.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"26F92DD2-760B-4C4A-9AA8-384327B8699A\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:libssh:libssh:0.6.1:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"388BE929-54F4-4058-B869-9E1663825AD6\"}]}]}],\"references\":[{\"url\":\"http://lists.opensuse.org/opensuse-updates/2014-03/msg00036.html\",\"source\":\"secalert@redhat.com\"},{\"url\":\"http://lists.opensuse.org/opensuse-updates/2014-03/msg00040.html\",\"source\":\"secalert@redhat.com\"},{\"url\":\"http://secunia.com/advisories/57407\",\"source\":\"secalert@redhat.com\",\"tags\":[\"Vendor Advisory\"]},{\"url\":\"http://www.debian.org/security/2014/dsa-2879\",\"source\":\"secalert@redhat.com\"},{\"url\":\"http://www.libssh.org/2014/03/04/libssh-0-6-3-security-release/\",\"source\":\"secalert@redhat.com\",\"tags\":[\"Patch\",\"Vendor Advisory\"]},{\"url\":\"http://www.openwall.com/lists/oss-security/2014/03/05/1\",\"source\":\"secalert@redhat.com\"},{\"url\":\"http://www.ubuntu.com/usn/USN-2145-1\",\"source\":\"secalert@redhat.com\"},{\"url\":\"https://bugzilla.redhat.com/show_bug.cgi?id=1072191\",\"source\":\"secalert@redhat.com\"},{\"url\":\"http://lists.opensuse.org/opensuse-updates/2014-03/msg00036.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"http://lists.opensuse.org/opensuse-updates/2014-03/msg00040.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"http://secunia.com/advisories/57407\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Vendor Advisory\"]},{\"url\":\"http://www.debian.org/security/2014/dsa-2879\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"http://www.libssh.org/2014/03/04/libssh-0-6-3-security-release/\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\",\"Vendor Advisory\"]},{\"url\":\"http://www.openwall.com/lists/oss-security/2014/03/05/1\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"http://www.ubuntu.com/usn/USN-2145-1\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://bugzilla.redhat.com/show_bug.cgi?id=1072191\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}"
  }
}


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.