GHSA-4hxv-95rc-jqg7

Suggest an improvement
Source
https://github.com/advisories/GHSA-4hxv-95rc-jqg7
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-4hxv-95rc-jqg7/GHSA-4hxv-95rc-jqg7.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-4hxv-95rc-jqg7
Aliases
Published
2022-05-17T00:18:13Z
Modified
2023-11-08T03:58:44Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
nv-websocket-client allows attackers to spoof SSL/TLS servers via an arbitrary valid certificate
Details

The Java WebSocket client nv-websocket-client does not verify that the server hostname matches a domain name in the subject's Common Name (CN) or subjectAltName field of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL/TLS servers via an arbitrary valid certificate.

Database specific
{
    "cwe_ids":  [
        "CWE-295"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2022-11-08T12:38:22Z",
    "nvd_published_at":  "2017-11-17T02:29:00Z",
    "severity":  "MODERATE"
}
References

Affected packages

Maven / com.neovisionaries:nv-websocket-client

Package

Name
com.neovisionaries:nv-websocket-client
View open source insights on deps.dev
Purl
pkg:maven/com.neovisionaries/nv-websocket-client

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.1

Affected versions

1.*
1.0
1.1
1.2
1.3
1.4
1.5
1.6
1.7
1.8
1.9
1.10
1.11
1.12
1.13
1.14
1.15
1.16
1.17
1.18
1.19
1.20
1.21
1.22
1.23
1.24
1.25
1.26
1.27
1.28
1.29
1.30
1.31
2.*
2.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-4hxv-95rc-jqg7/GHSA-4hxv-95rc-jqg7.json"