CVE-2019-3795

Insecure Randomness When Using a SecureRandom Instance Constructed by Spring Security

LOW 3.8

At a glance

Source
NVD
EPSS
EPSS 1.92 % · percentile 80 ()
State
PUBLISHED
Published
Updated
Assigner
dell
NVD status
Modified

Description

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.

Weaknesses (CWE)

  • CWE-330 — Use of Insufficiently Random Values

References

Scores

VersionScoreVectorScored by
CVSS 3.0LOW 3.8CVSS:3.0/AV:P/AC:H/PR:H/UI:R/S:U/C:N/I:H/A:Ndell
CVSS 3.1MEDIUM 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NNVD · nvd@nist.gov (Primary)
CVSS 3.0LOW 3.8CVSS:3.0/AV:P/AC:H/PR:H/UI:R/S:U/C:N/I:H/A:NNVD · security_alert@emc.com (Secondary)
CVSS 2.0MEDIUM 5.0AV:N/AC:L/Au:N/C:P/I:N/A:NNVD · nvd@nist.gov (Primary)

Advisories

European references

Affected configurations (NVD CPE)

Affected products

ProductVersions
Spring · Spring Securityaffected 5.0 < 5.0.11.RELEASE ; affected 5.1 < 5.1.4.RELEASE ; affected 4.2 < 4.2.11.RELEASE

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD