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-2024-0727 (Medium) detected in OpenSSLOpenSSL_1_1_1g #621

Open
mend-bolt-for-github bot opened this issue Feb 29, 2024 · 0 comments
Open

CVE-2024-0727 (Medium) detected in OpenSSLOpenSSL_1_1_1g #621

mend-bolt-for-github bot opened this issue Feb 29, 2024 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link

mend-bolt-for-github bot commented Feb 29, 2024

CVE-2024-0727 - Medium Severity Vulnerability

Vulnerable Library - OpenSSLOpenSSL_1_1_1g

TLS/SSL and crypto library

Library home page: https://github.com/OpenSSL/OpenSSL.git

Found in HEAD commit: 2d98b61eeb283dc66df22c340117e4c62c60352b

Found in base branch: master

Vulnerable Source Files (6)

/deps/openssl/openssl/crypto/pkcs7/pk7_mime.c
/deps/openssl/openssl/crypto/pkcs7/pk7_mime.c
/deps/openssl/openssl/crypto/pkcs7/pk7_mime.c
/deps/openssl/openssl/crypto/pkcs12/p12_mutl.c
/deps/openssl/openssl/crypto/pkcs12/p12_add.c
/deps/openssl/openssl/crypto/pkcs12/p12_add.c

Vulnerability Details

Issue summary: Processing a maliciously formatted PKCS12 file may lead OpenSSL
to crash leading to a potential Denial of Service attack

Impact summary: Applications loading files in the PKCS12 format from untrusted
sources might terminate abruptly.

A file in PKCS12 format can contain certificates and keys and may come from an
untrusted source. The PKCS12 specification allows certain fields to be NULL, but
OpenSSL does not correctly check for this case. This can lead to a NULL pointer
dereference that results in OpenSSL crashing. If an application processes PKCS12
files from an untrusted source using the OpenSSL APIs then that application will
be vulnerable to this issue.

OpenSSL APIs that are vulnerable to this are: PKCS12_parse(),
PKCS12_unpack_p7data(), PKCS12_unpack_p7encdata(), PKCS12_unpack_authsafes()
and PKCS12_newpass().

We have also fixed a similar issue in SMIME_write_PKCS7(). However since this
function is related to writing data we do not consider it security significant.

The FIPS modules in 3.2, 3.1 and 3.0 are not affected by this issue.

Publish Date: 2024-01-26

URL: CVE-2024-0727

CVSS 3 Score Details (5.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Local
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: Required
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://www.openssl.org/news/vulnerabilities.html

Release Date: 2024-01-19

Fix Resolution: OpenSSL_1_1_1x,OpenSSL_1_0_2zj,openssl-3.0.13,openssl-3.1.5,openssl-3.2.1


Step up your Open Source Security Game with Mend here

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants