Critical NULL Pointer Dereference Vulnerability in OpenSSL and Node.js Packages

nodejs Updated 02 Oct 2025

Summary

07/02/2023
N/A
Yes i
High
7.5

UBUNTU-CVE-2023-0401: A NULL pointer can be dereferenced when signatures are being verified on PKCS7 signed or signedAndEnveloped data. Affects nodejs versions < 12.22.9~dfsg-1ubuntu3.3. Fixed in 12.22.9~dfsg-1ubuntu3.3. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

OpenSSL is a widely-used library that provides robust cryptographic functions and protocols, essential for secure communications over networks. Node.js, built on Chrome's V8 JavaScript engine, allows developers to build scalable network applications. Both packages are integral to many applications, but they are susceptible to vulnerabilities that can compromise their functionality and security.

Vulnerability Detail

A NULL pointer dereference vulnerability exists in OpenSSL when verifying signatures on PKCS7 signed or signedAndEnveloped data. This issue arises when the hash algorithm used for the signature is recognized by OpenSSL, but its implementation is unavailable, leading to a failure in digest initialization. The absence of a check for the return value from this initialization function can result in invalid usage of the digest API, potentially causing application crashes. This vulnerability can affect third-party applications that utilize these functions to verify signatures on untrusted data.

How To Fix

Minimum fixed version

12.22.9~dfsg-1ubuntu3.3

This is the first release that contains the fix.

sudo apt-get install --only-upgrade nodejs

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, ensure that the legacy provider is loaded in your OpenSSL configuration to avoid the unavailability of the hash algorithm. This can be done by modifying the OpenSSL configuration file to include the legacy provider.

Conclusion

The NULL pointer dereference vulnerability in OpenSSL and Node.js poses significant risks to applications relying on these libraries. It is crucial to update to the patched versions to mitigate potential impacts. Additionally, utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.

See every vulnerability recorded for nodejs →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 7.5, indicating a high severity level.

The affected versions are OpenSSL 3.0.2-0ubuntu1.8 and Node.js 12.22.9~dfsg-1ubuntu3.3.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Exploitation of this vulnerability could lead to application crashes and potential denial of service if third-party applications rely on the affected functions.

Yes, Vulert provides a service that monitors and alerts for open-source vulnerabilities in your software using just a manifest file like package-lock.json.

Related vulnerabilities

Recent vulnerabilities recorded for nodejs.

How To Fix

Minimum fixed version

12.22.9~dfsg-1ubuntu3.3

This is the first release that contains the fix.

sudo apt-get install --only-upgrade nodejs

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback