GHSA-6fr3-286q-q3cr

Suggest an improvement
Source
https://github.com/advisories/GHSA-6fr3-286q-q3cr
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-6fr3-286q-q3cr/GHSA-6fr3-286q-q3cr.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-6fr3-286q-q3cr
Aliases
Published
2022-05-24T17:28:25Z
Modified
2024-02-16T08:01:18.192380Z
Severity
  • 4.8 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N CVSS Calculator
Summary
Improper Validation of Certificate with Host Mismatch in Jenkins Mailer Plugin
Details

Jenkins Mailer Plugin prior to 1.32.1, 1.31.1, and 1.29.1 does not perform hostname validation when connecting to the configured SMTP server. This lack of validation could be abused using a man-in-the-middle attack to intercept these connections.

Mailer Plugin 1.32.1, 1.31.1, and 1.29.1 validates the SMTP hostname when connecting via TLS by default. In Mailer Plugin 1.32 and earlier, administrators can set the Java system property mail.smtp.ssl.checkserveridentity to true on startup to enable this protection.

In case of problems, this protection can be disabled again by setting the Java system property mail.smtp.ssl.checkserveridentity to false on startup.

References

Affected packages

Maven / org.jenkins-ci.plugins:mailer

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
1.32
Fixed
1.32.1

Affected versions

1.*

1.32

Maven / org.jenkins-ci.plugins:mailer

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
1.30
Fixed
1.31.1

Affected versions

1.*

1.30
1.31

Maven / org.jenkins-ci.plugins:mailer

Package

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

Affected ranges

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

Affected versions

1.*

1.1
1.2
1.3
1.4
1.5
1.6
1.7
1.8
1.9
1.10
1.11
1.12-beta-1
1.12
1.13
1.14
1.15
1.16
1.17
1.18
1.19
1.20
1.21
1.22
1.23-beta-2
1.23
1.24
1.25
1.26
1.27
1.28
1.29