VRT 391,810 CVEs tracked · 15,472 in RASP scope · data as of 45 minutes ago

CVE-2021-32827

9.6 Critical No exploit published

Description

MockServer is open source software which enables easy mocking of any system you integrate with via HTTP or HTTPS. An attacker that can trick a victim into visiting a malicious site while running MockServer locally, will be able to run arbitrary code on the MockServer machine. With an overly broad default CORS configuration MockServer allows any site to send cross-site requests. Additionally, MockServer allows you to create dynamic expectations using Javascript or Velocity templates. Both engines may allow an attacker to execute arbitrary code on-behalf of MockServer. By combining these two issues (Overly broad CORS configuration + Script injection), an attacker could serve a malicious page so that if a developer running MockServer visits it, they will get compromised. For more details including a PoC see the referenced GHSL-2021-059.

CWE-74CWE-79 · Cross-site scripting

Exploitation Status

No public exploit

Nothing published shows this CVE being exploited, which is not the same as ruling it out. nothing published in 5 years.

CVSS E:U

  • CISA KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 2.2% chance in 30 days

Waratek Defense Posture

No exploit published

In RASP's scope with an upstream fix path, but nobody has published a working exploit. That is a statement about what has been published, not a finding that the defect is unreachable or unimportant.

  • Protection none
  • Action unverified patch rule
  • Review automated upstream-data
  • Record active
Decided by no-exploit-published : A published working exploit for this candidate, not only a proof of concept, a forecast, or nothing at all
Finding This CVE is not listed in CISA KEV, CISA Vulnrichment records no active exploitation, and no reviewed exploit catalogue carries an entry for it. Nobody has published something a stranger can run, so it is not a candidate for a rule ahead of the ones where somebody has; an upstream fix path does exist, so the remediation half of the candidacy still holds. This is a statement about what has been published, not about whether the defect is reachable or serious.

CVSS

9.6 CRITICAL v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H 3 metrics

VRT selects the newest version's highest entry and publishes it as cvssScore, newest rather than largest because scores are not comparable across versions, and highest rather than first because the first entry is frequently a CNA placeholder scoring 0.0 over NVD's own analysis.

VersionScoreBandVectorAssignerType
CVSS 3.1 9.6 CRITICAL CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H NVD Primary published
CVSS 3.1 6.1 MEDIUM CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N security-advisories@github.com Secondary
CVSS 2.0 6.8 no band published AV:N/AC:M/Au:N/C:P/I:P/A:P NVD Primary

Affected Software & Releases

🏛️ Oracle CPU Advisories & Products

AdvisoryTypeQuarterProducts Oracle named in risk matrix
Oracle Critical Patch Update January 2022 CPU 2022-Q1 Oracle Communications / Policy (MockServer) (1.14.0)

Indexed Oracle Components & Versions

FamilyComponentOracle's version cell (verbatim)Indexed as
Oracle Communications Policy (MockServer) 1.14.0 1.14.0

☕ Maven Library Packages

Artifact coordinates and fix boundaries from OSV.dev
Package CoordinateIntroducedFixedLast affected
org.mock-server:mockserver 0 none 5.11.2

🖥️ Product CPEs & Version Ranges

3 product(s) over 3 version claims (uncapped)
SourceVendorProductSchemeAffected Versions
nvd mock-server mockserver generic any version
nvd oracle communications cloud native core policy generic 1.14.0
osv org.mock-server mockserver generic ≤ 5.11.2

References

URLTags
https://github.com/mock-server/mockserver PACKAGE
https://securitylab.github.com/advisories/GHSL-2021-059-mockserver ADVISORY
https://www.oracle.com/security-alerts/cpujan2022.html WEB
https://securitylab.github.com/advisories/GHSL-2021-059-mockserver/ Exploit, Third Party Advisory

Timeline

Published 2021-08-16 Last modified 2026-06-17
Published2021-08-16By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.