GHSA-c89c-pvm7-33wj

Suggest an improvement
Source
https://github.com/advisories/GHSA-c89c-pvm7-33wj
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-c89c-pvm7-33wj/GHSA-c89c-pvm7-33wj.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-c89c-pvm7-33wj
Aliases
  • CVE-2020-2187
Published
2022-05-24T17:17:15Z
Modified
2024-02-16T08:23:14.908617Z
Severity
  • 5.6 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
Summary
Lack of SSL/TLS certificate and hostname validation in Amazon EC2 Plugin
Details

Amazon EC2 Plugin connects to Windows agents via HTTPS.

Amazon EC2 Plugin 1.50.1 and earlier unconditionally accepts self-signed HTTPS certificates and does not perform hostname validation when connecting to Windows agents. This lack of validation could be abused using a man-in-the-middle attack to intercept these connections to build agents.

Amazon EC2 Plugin 1.50.2 by default no longer accepts self-signed HTTPS certificates and performs hostname validation. A new configuration option allows restoring the previous, unsafe behavior. For more information see the plugin documentation.

Database specific
{
    "nvd_published_at": "2020-05-06T13:15:00Z",
    "cwe_ids": [
        "CWE-295"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2022-12-16T22:48:49Z"
}
References

Affected packages

Maven / org.jenkins-ci.plugins:ec2

Package

Name
org.jenkins-ci.plugins:ec2
View open source insights on deps.dev
Purl
pkg:maven/org.jenkins-ci.plugins/ec2

Affected ranges

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

Affected versions

1.*

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
1.32
1.33
1.34
1.35
1.36
1.37
1.38
1.39
1.40
1.40.1
1.41
1.41.1
1.42
1.42.1
1.42.2
1.43
1.44
1.44.1
1.45
1.46
1.46.1
1.46.2
1.46.3
1.46.4
1.47
1.48
1.49
1.49.1
1.49.2
1.49.3
1.50
1.50.1

Database specific

{
    "last_known_affected_version_range": "<= 1.50.1"
}