Vulnerabilities/

@octokit/endpoint has a Regular Expression in parse that Leads to ReDoS Vulnerability Due to Catastrophic Backtracking

Severity:
Medium

Description

By crafting specific options parameters, the endpoint.parse(options) call can be triggered, leading to a regular expression denial-of-service (ReDoS) attack. This causes the program to hang and results in high CPU utilization.

Recommendation

Update the @octokit/endpoint package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
@octokit/endpoint
Anything's wrong? Let us know Last updated on February 14, 2025

This issue is available in SmartScanner Professional

See Pricing