EGI SVG Advisories

Advisory-SVG-CVE-2022-3602

Title:   EGI SVG 'ADVISORY' [TLP:WHITE]  HIGH risk OpenSSL-3.0.X  
         vulnerability CVE-2022-3602 [EGI-SVG-CVE-2022-3602] 

Date:    2022-11-01
Updated: 2022-11-30

Affected software and risk
==========================
HIGH risk vulnerability concerning OpenSSL3 

Package    : OpenSSL 3
CVE ID     : CVE-2022-3602 
Bug ID     : 2137723 
CVSS Score : 7.5 [R 2]

The OpenSSL project have released OpenSSL 3.0.7 which is a security fix. [R 1].  
CVE-2022-3602 consists of a buffer overrun which can be triggered by sending 
an X.509 certificate with a specially crafted email address field to a 
vulnerable client or server.    This can result in an overflow of four 
attacker-controlled bytes on the stack. This could result in a crash 
(causing a denial of service) or possibly result in remote code execution. 
[R 3]. 

OpenSSL3 is the OS version for OpenSSL on RHEL9.
 
There are other distributions where OpenSSL3 is in use. 

The majority of EGI sites are unlikely to be affected.  


Actions required/recommended
============================

Sites using OpenSSL3 prior to 3.0.7 should update as soon as possible.

Component installation information
==================================

Sites running RHEL 9 should see [R 2] [R 4]

Sites running CentOS should also see [R 2] plus [R 5] 

Sites running Debian should see [R 6]

Sites running Ubuntu should see [R 7]

Sites running RockyLinux should see [R 8] 

Sites running Almalinux should see [R 9] [R 10]

Affected software details
=========================
These vulnerabilities are fixed in OpenSSL version 3.0.7.  
Earlier versions of OpenSSL3 are affected.

OpenSSL3 is distributed with RHEL 9 and derivates.  Earlier versions of RHEL 
and its derivatives are not affected.
Some Debian distributions may be affected [R 7] but unlikely to be used on 
the production infrastructure.

Ubuntu 22.04 is affected, which is present in some cloud images.

This information on affected software details may not be complete. 


TLP and URL
===========

** WHITE information - Unlimited distribution
 - see https://go.egi.eu/tlp for
   distribution restrictions **
   
URL: https://advisories.egi.eu/Advisory-SVG-CVE-2022-3602
Minor updates may be made without re-distribution to the sites

Comments
========

Comments or questions should be sent to svg-rat  at  mailman.egi.eu
If you find or become aware of another vulnerability which is relevant to EGI
you may report it by e-mail to

report-vulnerability at egi.eu

the EGI Software Vulnerability Group will take a look according to the
procedure defined in [R 99]

References
==========
[R 1] https://www.openssl.org/news/secadv/20221101.txt

[R 2] https://access.redhat.com/security/cve/CVE-2022-3602

[R 3] https://bugzilla.redhat.com/show_bug.cgi?id=2137723 

[R 4] https://access.redhat.com/errata/RHSA-2022:7288

[R 5] https://lists.centos.org/pipermail/centos-announce/ 

[R 6] http://people.canonical.com/~ubuntu-security/cve/2021/CVE-2022-3602.html > 

[R 7] https://security-tracker.debian.org/tracker/CVE-2022-3602 

[R 8] https://errata.build.resf.org/ 

[R 9] https://errata.almalinux.org/ 

[R 10] https://errata.almalinux.org/9/ALSA-2022-7288.html

[R 99] https://documents.egi.eu/public/ShowDocument?docid=3867

Credit
======
SVG alerted to the fact there was an OpenSSL release imminent by Mischa Salle 
and David Crooks. 

Timeline
========
Yyyy-mm-dd  [EGI-SVG-2022-CVE-2022-3602] 

2022-10-30 SVG alerted to the fact there was an OpenSSL release imminent by 
           Mischa Salle and David Crooks. 
2022-10-31 Acknowledgement from the EGI SVG to the reporter
2022-11-01 OpenSSL makes release and information available 
2022-11-02 EGI SVG Risk Assessment completed
2022-11-02 Advisory sent to sites
2022-11-30 Advisory placed on Advisories.egi.eu

Context
=======

This advisory has been prepared as part of the effort to fulfil EGI SVG's
purpose "To minimize the risk to the EGI infrastructure arising from software
vulnerabilities"
The risk is that assessed by the group, according to the EGI SVG issue handling
procedure [R 99] in the context of how the software is used in the EGI
infrastructure. It is the opinion of the group, we do not guarantee it to be
correct. The risk may also be higher or lower in other deployments depending on
how the software is used.

-----------------------------
This advisory is subject to the Creative commons licence 
https://creativecommons.org/licenses/by/4.0/ 
and the EGI https://www.egi.eu/ Software Vulnerability Group must be credited. 
-----------------------------


On behalf of the EGI SVG,