chore(security): remediate OSV findings - #538
peco-engineer-bot[bot] wants to merge 4 commits into
Conversation
Signed-off-by: peco-engineer-bot[bot] <287056288+peco-engineer-bot[bot]@users.noreply.github.com>
There was a problem hiding this comment.
Verdict: 1 High
Lockfile-only security bump of brace-expansion (→1.1.21/2.1.7) and ip-address (→10.7.2); the version/integrity updates themselves look correct. One high concern: the six updated entries now resolve from the private databricks.jfrog.io Artifactory mirror while the rest of the committed lockfile uses the public registry.npmjs.org, which will break npm ci for external consumers and public CI.
The remediation bumps resolved from the internal Artifactory mirror; point them at registry.npmjs.org like the rest of the lockfile. Co-authored-by: Isaac <no-reply@databricks.com> Signed-off-by: Vu Anh Phung <vu.phung@databricks.com>
braces has no fixed release and is dev-only. The basic-ftp fix (6.2.1) is outside get-uri's ^5.3.1 range, and its vulnerable path needs a pac+ftp:// proxy, which ProxyOptions doesn't allow. Both expire 2027-04-05 for re-review. Also fix the ignoreUntil example: OSV-Scanner rejects a quoted date string. Co-authored-by: Isaac <no-reply@databricks.com> Signed-off-by: Vu Anh Phung <vu.phung@databricks.com>
…HSA-c475-qrg2-pj4r get-uri caps basic-ftp at ^5.3.1, but an override clears the advisory the same way the existing ip-address override does. The Client API get-uri uses is unchanged in 6.x. Co-authored-by: Isaac <no-reply@databricks.com> Signed-off-by: Vu Anh Phung <vu.phung@databricks.com>
There was a problem hiding this comment.
Verdict: 1 Low
Looks good — a clean OSV remediation PR (lockfile bumps, overrides change, OSV suppression, doc updates). The package.json override / lock resolved+integrity / rewritten get-uri requires are mutually consistent, and the OSV-Scanner bare-date fix is correct (a quoted string fails to unmarshal into a time value). One low note on the basic-ftp major-version bump's documented behavior change.
| }, | ||
| "overrides": { | ||
| "basic-ftp": "^5.3.1", | ||
| "basic-ftp": "^6.2.1", |
There was a problem hiding this comment.
🔵 Low — This override forces basic-ftp across a major version boundary (5.x → 6.x), past get-uri's declared ^5.3.1 cap. As the SECURITY-OVERRIDES.md note acknowledges, 6.0 changes the default of allowSeparateTransferHost to false, so FTP data connections where the PASV/EPSV reply names a different host than the control connection are now rejected. For this connector that path is only reachable via an ftp:// proxy URI through proxy-agent, so the blast radius is small and the change is intentional — flagging only so the behavioral shift is visible to reviewers/consumers who may rely on FTP-proxy transfers. No change requested.
Summary
Automated remediation for findings from the weekly OSS driver security scan.
Updates:
^5.3.1->^6.2.1to clear GHSA-c475-qrg2-pj4r. get-uri (through 8.0.1) caps basic-ftp at^5.3.1, so this is forced the same way as the existing ip-address override. TheClientAPI get-uri uses is unchanged in 6.x; the 6.0 major only defaultsallowSeparateTransferHosttofalse.SECURITY-OVERRIDES.mdis updated.resolvedURLs for the bumped entries point atregistry.npmjs.org(the automated bump had resolved them from an internal mirror)Suppressed in
osv-scanner.toml(expires 2027-04-05 for re-review):dist/.Also fixes the
ignoreUntilexample inosv-scanner.toml: OSV-Scanner fails to load a quoted date string, so it must be a bare TOML date.The repository's Security Scan check is the authoritative validation.
Source: https://github.com/databricks/databricks-driver-test/actions/runs/37187456062