Intel

AIKIDO-2024-10229

express-openapi-validator is vulnerable to Improper Authentication

Improper Authentication Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Aug 27, 2024

75

High Risk

This Affects:

jsexpress-openapi-validator
3.0.0 - 5.3.2
Fixed in 5.3.3
Are you affected? Scan for Free

TL;DR

Affected versions of the package are vulnerable to improper authentication. If an endpoint specification contains multiple security handlers with both AND and OR conditions, as described in the "Using Multiple Authentication Types" section of the documentation, the API's behavior does not align with expectations.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

express-openapi-validator is vulnerable to Improper Authentication in versions 3.0.0 - 5.3.2.

How to fix this

Upgrade the express-openapi-validator library to the patch version.