Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2022-3786 and CVE-2022-3602: X.509 Email Address Buffer Overflows #3299

Closed
miwithro opened this issue Nov 1, 2022 · 30 comments
Closed

Comments

@miwithro
Copy link
Contributor

miwithro commented Nov 1, 2022

Issue Details

OpenSSL Security Advisory [01 November 2022]

X.509 Email Address 4-byte Buffer Overflow (CVE-2022-3602)

Severity: High

A buffer overrun can be triggered in X.509 certificate verification,
specifically in name constraint checking. Note that this occurs
after certificate chain signature verification and requires either a
CA to have signed the malicious certificate or for the application to
continue certificate verification despite failure to construct a path
to a trusted issuer. An attacker can craft a malicious email address
to overflow four attacker-controlled bytes on the stack. This buffer
overflow could result in a crash (causing a denial of service) or
potentially remote code execution.

Many platforms implement stack overflow protections which would mitigate
against the risk of remote code execution. The risk may be further
mitigated based on stack layout for any given platform/compiler.

Pre-announcements of CVE-2022-3602 described this issue as CRITICAL.
Further analysis based on some of the mitigating factors described above
have led this to be downgraded to HIGH. Users are still encouraged to
upgrade to a new version as soon as possible.

In a TLS client, this can be triggered by connecting to a malicious
server. In a TLS server, this can be triggered if the server requests
client authentication and a malicious client connects.

OpenSSL versions 3.0.0 to 3.0.6 are vulnerable to this issue.

OpenSSL 3.0 users should upgrade to OpenSSL 3.0.7.

OpenSSL 1.1.1 and 1.0.2 are not affected by this issue.

This issue was reported to OpenSSL on 17th October 2022 by Polar Bear.
The fixes were developed by Dr Paul Dale.

We are not aware of any working exploit that could lead to code execution,
and we have no evidence of this issue being exploited as of the time of
release of this advisory (November 1st 2022).

X.509 Email Address Variable Length Buffer Overflow (CVE-2022-3786)

Severity: High

A buffer overrun can be triggered in X.509 certificate verification,
specifically in name constraint checking. Note that this occurs after
certificate chain signature verification and requires either a CA to
have signed a malicious certificate or for an application to continue
certificate verification despite failure to construct a path to a trusted
issuer. An attacker can craft a malicious email address in a certificate
to overflow an arbitrary number of bytes containing the `.' character
(decimal 46) on the stack. This buffer overflow could result in a crash
(causing a denial of service).

In a TLS client, this can be triggered by connecting to a malicious
server. In a TLS server, this can be triggered if the server requests
client authentication and a malicious client connects.

OpenSSL versions 3.0.0 to 3.0.6 are vulnerable to this issue.

OpenSSL 3.0 users should upgrade to OpenSSL 3.0.7.

OpenSSL 1.1.1 and 1.0.2 are not affected by this issue.

This issue was discovered on 18th October 2022 by Viktor Dukhovni while
researching CVE-2022-3602. The fixes were developed by Dr Paul Dale.

We have no evidence of this issue being exploited as of the time of
release of this advisory (November 1st 2022).

References

URL for this Security Advisory:
https://www.openssl.org/news/secadv/20221101.txt

AKS Information:

This Vulnerability does not apply to Ubuntu 18.04 or Mariner, but only applies to Ubuntu 22.04 which comes with AKS 1.25.

The patch is rolled out via Unattended update or you can choose to update your node image to 2022.11.02 to remediate these vulnerability.

@miwithro miwithro pinned this issue Nov 1, 2022
@ghost ghost added the stale Stale issue label Jan 2, 2023
@ghost
Copy link

ghost commented Jan 2, 2023

This issue has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs within 15 days of this comment.

@eddycek
Copy link

eddycek commented Jan 3, 2023

Is this issue still relevant?

@ghost ghost removed the stale Stale issue label Jan 3, 2023
@FlorentATo
Copy link

It should remain relevant for the users running AKS 1.25+ using a node pool image older than 2022.11.02.

@ghost
Copy link

ghost commented Mar 14, 2023

Thanks for reaching out. I'm closing this issue as it was marked resolved and it hasn't had activity for 3 days. If it continues please reply or oepn a support ticket.

@ghost
Copy link

ghost commented Mar 17, 2023

Thanks for reaching out. I'm closing this issue as it was marked resolved and it hasn't had activity for 3 days. If it continues please reply or oepn a support ticket.

13 similar comments
@ghost
Copy link

ghost commented Mar 21, 2023

Thanks for reaching out. I'm closing this issue as it was marked resolved and it hasn't had activity for 3 days. If it continues please reply or oepn a support ticket.

@ghost
Copy link

ghost commented Mar 24, 2023

Thanks for reaching out. I'm closing this issue as it was marked resolved and it hasn't had activity for 3 days. If it continues please reply or oepn a support ticket.

@ghost
Copy link

ghost commented Mar 27, 2023

Thanks for reaching out. I'm closing this issue as it was marked resolved and it hasn't had activity for 3 days. If it continues please reply or oepn a support ticket.

@ghost
Copy link

ghost commented Mar 30, 2023

Thanks for reaching out. I'm closing this issue as it was marked resolved and it hasn't had activity for 3 days. If it continues please reply or oepn a support ticket.

@ghost
Copy link

ghost commented Apr 3, 2023

Thanks for reaching out. I'm closing this issue as it was marked resolved and it hasn't had activity for 3 days. If it continues please reply or oepn a support ticket.

@ghost
Copy link

ghost commented Apr 6, 2023

Thanks for reaching out. I'm closing this issue as it was marked resolved and it hasn't had activity for 3 days. If it continues please reply or oepn a support ticket.

@ghost
Copy link

ghost commented Apr 10, 2023

Thanks for reaching out. I'm closing this issue as it was marked resolved and it hasn't had activity for 3 days. If it continues please reply or oepn a support ticket.

@ghost
Copy link

ghost commented Apr 13, 2023

Thanks for reaching out. I'm closing this issue as it was marked resolved and it hasn't had activity for 3 days. If it continues please reply or oepn a support ticket.

@ghost
Copy link

ghost commented Apr 16, 2023

Thanks for reaching out. I'm closing this issue as it was marked resolved and it hasn't had activity for 3 days. If it continues please reply or oepn a support ticket.

@ghost
Copy link

ghost commented Apr 20, 2023

Thanks for reaching out. I'm closing this issue as it was marked resolved and it hasn't had activity for 3 days. If it continues please reply or oepn a support ticket.

@ghost
Copy link

ghost commented Apr 23, 2023

Thanks for reaching out. I'm closing this issue as it was marked resolved and it hasn't had activity for 3 days. If it continues please reply or oepn a support ticket.

@ghost
Copy link

ghost commented Apr 26, 2023

Thanks for reaching out. I'm closing this issue as it was marked resolved and it hasn't had activity for 3 days. If it continues please reply or oepn a support ticket.

@ghost
Copy link

ghost commented Apr 29, 2023

Thanks for reaching out. I'm closing this issue as it was marked resolved and it hasn't had activity for 3 days. If it continues please reply or oepn a support ticket.

@marcindulak
Copy link

The bot got stuck here, like in #3371.

Additionally the "oepn" typo is still present #3536

@ghost
Copy link

ghost commented May 3, 2023

Thanks for reaching out. I'm closing this issue as it was marked resolved and it hasn't had activity for 3 days. If it continues please reply or oepn a support ticket.

@ghost
Copy link

ghost commented May 6, 2023

Thanks for reaching out. I'm closing this issue as it was marked resolved and it hasn't had activity for 3 days. If it continues please reply or oepn a support ticket.

1 similar comment
@ghost
Copy link

ghost commented May 10, 2023

Thanks for reaching out. I'm closing this issue as it was marked resolved and it hasn't had activity for 3 days. If it continues please reply or oepn a support ticket.

@ghost
Copy link

ghost commented May 13, 2023

Thanks for reaching out. I'm closing this issue as it was marked resolved and it hasn't had activity for 3 days. If it continues please reply or oepn a support ticket.

7 similar comments
@ghost
Copy link

ghost commented May 16, 2023

Thanks for reaching out. I'm closing this issue as it was marked resolved and it hasn't had activity for 3 days. If it continues please reply or oepn a support ticket.

@ghost
Copy link

ghost commented May 19, 2023

Thanks for reaching out. I'm closing this issue as it was marked resolved and it hasn't had activity for 3 days. If it continues please reply or oepn a support ticket.

@ghost
Copy link

ghost commented May 23, 2023

Thanks for reaching out. I'm closing this issue as it was marked resolved and it hasn't had activity for 3 days. If it continues please reply or oepn a support ticket.

@ghost
Copy link

ghost commented May 26, 2023

Thanks for reaching out. I'm closing this issue as it was marked resolved and it hasn't had activity for 3 days. If it continues please reply or oepn a support ticket.

@ghost
Copy link

ghost commented May 29, 2023

Thanks for reaching out. I'm closing this issue as it was marked resolved and it hasn't had activity for 3 days. If it continues please reply or oepn a support ticket.

@ghost
Copy link

ghost commented Jun 1, 2023

Thanks for reaching out. I'm closing this issue as it was marked resolved and it hasn't had activity for 3 days. If it continues please reply or oepn a support ticket.

@ghost
Copy link

ghost commented Jun 5, 2023

Thanks for reaching out. I'm closing this issue as it was marked resolved and it hasn't had activity for 3 days. If it continues please reply or oepn a support ticket.

@matthchr matthchr closed this as completed Jun 5, 2023
@matthchr matthchr unpinned this issue Jun 5, 2023
@Azure Azure locked as resolved and limited conversation to collaborators Jul 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants