Vulnerabilities/

GHSA-52vf-hgvq-8pr3

CVE

GHSA-52vf-hgvq-8pr3

MockServer's mutual TLS client authentication can be bypassed in two ways. On the control plane, MTLSAuthenticationHandler.controlPlaneRequestAuthenticated accepts a request as soon as any certificate in the client-presented chain validates against the trusted CA, including the public CA certificate itself, so anyone able to reach the control plane can authenticate with an arbitrary key pair and then read, create or delete expectations and stop the server. On the data plane, NettySslContextFactory.createServerSslContext adds the bundled MockServer CA, whose private key is public, to the trust set, so a certificate signed with that key is accepted as a trusted client.

Severity

Critical

Base CVSS

9.8

Fixed in

9.1.0

Description

Severity scores

Source

Severity

Base score

CVSS version

Score vector

NVD

OSV

Endor Labs

9.8

3.1

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Required action

Known ransomware campaign use

References

https://github.com/mock-server/mockserver-monorepo/security/advisories/GHSA-52vf-hgvq-8pr3, https://github.com/advisories/GHSA-52vf-hgvq-8pr3

Basic information

Base CVSS

9.8

EPSS probability

0.0

EPSS percentile

0

Introduced version

6.0.0,5.13.0,5.9.0,5.13.2,5.13.1

Fix available

9.1.0

Endor Patches

Fix critical vulnerabilities instantly

Secure your app without upgrading: detect a compatible fix, apply safe remediation, and ship it in a single pull request.

Fix without upgrading

Get a demo of Endor Labs today.