Skip to content

Fix #1297: bump basic-ftp to 6.2.6 - #1299

Merged
wing328 merged 1 commit into
OpenAPITools:masterfrom
Inf1mum:fix/1297-basic-ftp
Nov 18, 2026
Merged

wing328 merged 1 commit into
OpenAPITools:masterfrom
Inf1mum:fix/1297-basic-ftp

Conversation

@Inf1mum

@Inf1mum Inf1mum commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #1297

The transitive basic-ftp@5.3.1 (via proxy-agent → pac-proxy-agent → get-uri) is vulnerable to GHSA-c475-qrg2-pj4r / GHSA-r4jh-29pc-gfqr / GHSA-5pm8-86m8-9m6r, all fixed in 6.x. No upstream release in the chain exposes 6.x, so proxy-agent is bumped 8.0.1 → 8.0.3, unlocking pac-proxy-agent 9.1.1 → get-uri 8.0.2 → basic-ftp 6.2.6 (which also carries the 6.2.6 path-traversal fix). The CLI never touches FTP directly, and basic-ftp 6.0's breaking change (separate transfer hosts) does not apply.

yarn test (251 tests) and yarn build green; lockfile diff confined to the dependency chain.


Summary by cubic

Resolves #1297 by bumping proxy-agent from 8.0.1 to 8.0.3, which upgrades the transitive basic-ftp dependency from 5.3.1 to 6.2.6. The old basic-ftp version is affected by three known vulnerabilities (GHSA-c475-qrg2-pj4r, GHSA-r4jh-29pc-gfqr, GHSA-5pm8-86m8-9m6r), all fixed in the 6.x line.

Because no upstream release exposes basic-ftp 6.x, the fix required bumping pac-proxy-agent and get-uri along the chain. The CLI never touches FTP directly, so basic-ftp 6's breaking change (separate transfer hosts) doesn't apply. yarn test and yarn build pass, and the lockfile diff is confined to this dependency chain.

Written for commit c29082a. Summary will update on new commits.

View guided diff

Signed-off-by: Inf1mum <vadimlazuk5@gmail.com>

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 2 files

View guided diff | Re-trigger cubic

@wing328
wing328 merged commit 6e519e0 into OpenAPITools:master Nov 18, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

openapi-generator-cli pulling high vulnerable basic-ftp 5.x line

2 participants