Skip to content
DoS Disclosed report Advanced CVE-2023-23919

CVE-2023-23919: Multiple OpenSSL error handling issues in nodejs crypto library

Node.js did not clear the OpenSSL error stack after operations that may set it, which could cause false positive errors in later cryptographic operations on the same thread. This could be used to cause a denial of service.

nobacktrack Follow

Originally disclosed on HackerOne

Bounty$1,800 Medium View original
  • Triaged in 4 days
  • Fixed in 10 days
  • Paid in 10 days
  • Disclosed after 40 days

Summary by the program

Node.js OpenSSL error handling issues in nodejs crypto library (Medium) (CVE-2023-23919)

In some cases Node.js did does not clear the OpenSSL error stack after operations that may set it. This may lead to false positive errors during subsequent cryptographic operations that happen to be on the same thread. This in turn could be used to cause a denial of service.

Thank you, to Morgan Jones and Ryan Dorrity from Viasat Secure Mobile for reporting and discovering this vulnerability and thank you Rafael Gonzaga for fixing it.

Impacts:

Versions of < 19.2.0 and lower of the 19.x release line and all versions of the 18.x, and 16.x release lines.

Full Security Advisory: https://nodejs.org/en/blog/vulnerability/february-2023-security-releases/

The original report as published on HackerOne, by nobacktrack. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Impact

This could be used to cause a denial of service.

What the attacker needed

None

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

When a program uses encryption, it sometimes records errors in a shared list. Node.js forgot to empty that list after some operations. Later, a normal operation could see an old error and fail, which an attacker could use to make the service stop working.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More from Internet Bug Bounty

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.