CVE-2025-25288 @octokit/plugin-paginate-rest has a Regular Expression in iterator that Leads to ReDoS Vulnerability Due to Catastrophic Backtracking
설명
@octokit/plugin-paginate-rest is the Octokit plugin to paginate REST API endpoint responses. For versions starting in 1.0.0 and prior to 11.4.1 of the npm package `@octokit/plugin-paginate-rest`, when calling `octokit.paginate.iterator()`, a specially crafted `octokit` instance—particularly with a malicious `link` parameter in the `headers` section of the `request`—can trigger a ReDoS attack. Version 11.4.1 contains a fix for the issue.
영향 받는 제품 제품 1개
-
해결 버전 있음
octokit
plugin-paginate-rest.js
영향 받는 버전
- 1.0.0 이상 11.4.1 미만
해결 버전
- 11.4.1 이상
참고 자료 3건
- github.com https://github.com/octokit/plugin-paginate-rest.js/blob/main/src/iterator.ts (새 창)
- github.com https://github.com/octokit/plugin-paginate-rest.js/commit/bb6c4f945d8023902cf387391d2b2209261044ab (새 창)
- github.com https://github.com/octokit/plugin-paginate-rest.js/security/advisories/GHSA-h5c3-5r3r-rr8q (새 창)