Skip to content

osv: backport ECOSYSTEM skip to stable-1.5.28#1912

Open
jvdm wants to merge 1 commit into
quay:stable-1.5.28from
jvdm:jvdm-backport-ecosystem-skip-1.5.28
Open

osv: backport ECOSYSTEM skip to stable-1.5.28#1912
jvdm wants to merge 1 commit into
quay:stable-1.5.28from
jvdm:jvdm-backport-ecosystem-skip-1.5.28

Conversation

@jvdm

@jvdm jvdm commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Backport of #1908 to stable-1.5.28 for the ACS 4.5.x v1 vulnerability bundle stream.

Adapted for the v1.5.28 API: uses zlog instead of slog, skipped.Ignored as a slice append instead of a method call, and removes the orphan vulnerability with RemoveVulnerability since the v1.5.28 code creates the vulnerability eagerly before processing ranges.

Test cases from #1908 that depend on upstream multi-range behavior (not present in v1.5.28) were excluded.

Context: ROX-34975

The GitHub Advisory Database published advisories for the npm package
nocodb using ECOSYSTEM range type instead of SEMVER (e.g.,
GHSA-4w6r-5c2j-qf5f). This happens because nocodb switched to
calendar-based versioning (2026.04.1), which is not valid SemVer 2.0 —
the advisory database chose ECOSYSTEM accordingly.

The parser currently returns a hard error for ECOSYSTEM ranges on Go
and npm ecosystems, added as a defensive check in a607a05 and
87be024. This error propagates through Parse, aborting the entire
ecosystem update.

This change skips the range with a warning instead, using the same
pattern as GIT ranges. The advisory is recorded via stats.Ignored.

Signed-off-by: J. Victor Martins <jvdm@sdf.org>
@jvdm jvdm requested a review from a team as a code owner June 11, 2026 19:51
@jvdm jvdm requested review from BradLugo, crozzy, dcaravel and hdonnay and removed request for a team June 11, 2026 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant