GHSA-xvch-r4wf-h8w9

Suggest an improvement
Source
https://github.com/advisories/GHSA-xvch-r4wf-h8w9
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/11/GHSA-xvch-r4wf-h8w9/GHSA-xvch-r4wf-h8w9.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-xvch-r4wf-h8w9
Aliases
Published
2018-11-21T22:22:21Z
Modified
2024-03-04T21:49:22.732748Z
Severity
  • 7.4 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
Improper Certificate Validation in proton-j
Details

The Apache Qpid Proton-J transport includes an optional wrapper layer to perform TLS, enabled by use of the 'transport.ssl(...)' methods. Unless a verification mode was explicitly configured, client and server modes previously defaulted as documented to not verifying a peer certificate, with options to configure this explicitly or select a certificate verification mode with or without hostname verification being performed. The latter hostname verifying mode was not implemented in Apache Qpid Proton-J versions 0.3 to 0.29.0, with attempts to use it resulting in an exception. This left only the option to verify the certificate is trusted, leaving such a client vulnerable to Man In The Middle (MITM) attack. Uses of the Proton-J protocol engine which do not utilise the optional transport TLS wrapper are not impacted, e.g. usage within Qpid JMS. Uses of Proton-J utilising the optional transport TLS wrapper layer that wish to enable hostname verification must be upgraded to version 0.30.0 or later and utilise the VerifyMode#VERIFYPEERNAME configuration, which is now the default for client mode usage unless configured otherwise.

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-295"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T22:04:36Z"
}
References

Affected packages

Maven / org.apache.qpid:proton-j

Package

Name
org.apache.qpid:proton-j
View open source insights on deps.dev
Purl
pkg:maven/org.apache.qpid/proton-j

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0.3
Fixed
0.30.0

Affected versions

0.*

0.4
0.5
0.6
0.7
0.8
0.9
0.9.1
0.10
0.11.0
0.11.1
0.12.0
0.12.1
0.12.2
0.13.0
0.13.1
0.14.0
0.15.0
0.16.0
0.17.0
0.18.0
0.19.0
0.20.0
0.21.0
0.22.0
0.23.0
0.24.0
0.25.0
0.26.0
0.27.0
0.27.1
0.27.2
0.27.3
0.28.0
0.28.1
0.29.0

Database specific

{
    "last_known_affected_version_range": "<= 0.29.0"
}