Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2019-3795

Spring Security versions 4.2.x prior to 4.2.12, 5.0.x prior to 5.0.12, and 5.1.x prior to 5.1.5 contain an insecure randomness vulnerability when using SecureRandomFactoryBean#setSeed to configure a SecureRandom instance. In order to be impacted, an honest application must provide a seed and make the resulting random material available to an attacker for inspection.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2019-3795
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 07:00 UTC · Revision 1

Source evidence

CVE-2019-3795

core-osv · Original source

Published 9 Apr 2019, 16:29 UTC

Spring Security versions 4.2.x prior to 4.2.12, 5.0.x prior to 5.0.12, and 5.1.x prior to 5.1.5 contain an insecure randomness vulnerability when using SecureRandomFactoryBean#setSeed to configure a SecureRandom instance. In order to be impacted, an honest application must provide a seed and make the resulting random material available to an attacker for inspection.

osv:CVE-2019-3795
Complete source record
{
  "id": "aa64823f1bd7867958f8c0a951c621ab4731b78083c56808b00955a4562e8323",
  "url": "https://osv.dev/vulnerability/CVE-2019-3795",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2019-3795",
    "summary": "Spring Security versions 4.2.x prior to 4.2.12, 5.0.x prior to 5.0.12, and 5.1.x prior to 5.1.5 contain an insecure randomness vulnerability when using SecureRandomFactoryBean#setSeed to configure a SecureRandom instance. In order to be impacted, an honest application must provide a seed and make the resulting random material available to an attacker for inspection.",
    "evidence": "osv:CVE-2019-3795",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2019-3795",
      "aliases": [
        "CVE-2019-3795",
        "GHSA-v2r2-7qm7-jj6v"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/spring-projects/spring-security",
              "type": "GIT",
              "events": [
                {
                  "introduced": "24fcb6c45a55333e5b856b6c73f14b68ceca0e19"
                },
                {
                  "fixed": "f154c7d9dcdebc690bf504b812db21a6d7148caf"
                },
                {
                  "introduced": "62e7762e8f3f2f810b01f2c23f211de627331aa8"
                },
                {
                  "fixed": "8f7e9c79c3beb14f7339409c9998f7a85f01d1a4"
                },
                {
                  "introduced": "c073705d555d94bd271dabb16990d87a33a8284c"
                },
                {
                  "fixed": "1e694b1304a801bc401aee15849130a5e0b702f8"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.2.0"
                      },
                      {
                        "fixed": "4.2.12"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "5.0.0"
                      },
                      {
                        "fixed": "5.0.12"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "5.1.0"
                      },
                      {
                        "fixed": "5.1.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "5.1.4.RELEASE",
            "5.0.11.RELEASE",
            "5.1.3.RELEASE",
            "4.2.11.RELEASE",
            "4.2.10.RELEASE",
            "5.0.10.RELEASE",
            "5.1.2.RELEASE",
            "4.2.9.RELEASE",
            "5.0.9.RELEASE",
            "5.1.1.RELEASE",
            "5.1.0.RELEASE",
            "5.0.8.RELEASE",
            "5.0.7.RELEASE",
            "4.2.7.RELEASE",
            "5.0.6.RELEASE",
            "4.2.6.RELEASE",
            "5.0.5.RELEASE",
            "5.0.4.RELEASE",
            "4.2.5.RELEASE",
            "5.0.3.RELEASE",
            "5.0.2.RELEASE",
            "4.2.4.RELEASE",
            "5.0.1.RELEASE",
            "5.0.0.RELEASE",
            "4.2.3.RELEASE",
            "4.2.2.RELEASE",
            "4.2.1.RELEASE",
            "4.2.0.RELEASE"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-3795.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:47.273960136Z",
      "provider": "osv",
      "references": [
        "https://lists.debian.org/debian-lts-announce/2019/05/msg00026.html",
        "https://pivotal.io/security/cve-2019-3795"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.0"
                  },
                  {
                    "last_affected": "8.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2019-3795",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 436506,
  "published_at": "2019-04-09T16:29:01.837+00:00"
}