Skip to content

fix(advisories): Published Sparkle advisories are missing from the global database #11585

Backlog

Description

@coygeek

Summary

Four of the six published sparkle-project/Sparkle repository advisories are absent from the global GitHub Advisory Database and OSV by GHSA ID. Three were published in August. The missing records prevent consumers of those feeds from retrieving those advisories by ID. Could the curation team check the Swift package mapping and review status for the August records and indicate whether the recent record needs a metadata change?

Steps to reproduce

List the published repository advisories and query each ID against both public databases. This uses curl and jq.

curl -fsS 'https://api.github.com/repos/sparkle-project/Sparkle/security-advisories?state=published' |
  jq -r '.[].ghsa_id' |
  while IFS= read -r id; do
    github=$(curl -sS -o /dev/null -w '%{http_code}' "https://api.github.com/advisories/$id")
    osv=$(curl -sS -o /dev/null -w '%{http_code}' "https://api.osv.dev/v1/vulns/$id")
    printf '%s GitHub=%s OSV=%s\n' "$id" "$github" "$osv"
  done

Expected behavior

GitHub considers published repository advisories for the global database and supports Swift packages. Sparkle already has reviewed entries under github.com/sparkle-project/Sparkle. Eligible advisories for that package should be retrievable from the global API after curation. The public APIs do not expose the review status or exclusion reason for these records.

Actual behavior

Repository advisory Swift package as published GitHub global REST OSV REST
GHSA-3x7w-j75x-ppq5 Sparkle 404 404
GHSA-4v99-qgq9-6pxp Sparkle 404 404
GHSA-gmj2-gq3j-vqmj sparkle-project/Sparkle 404 404
GHSA-gcjm-h3jh-p2vc github.com/sparkle-project/Sparkle 404 404
GHSA-hg88-v3cw-3qrh github.com/sparkle-project/Sparkle 200, reviewed 200
GHSA-g3hp-f6mg-559v github.com/sparkle-project/Sparkle 200, reviewed 200

The repository API lists CVE-2026-115568 on GHSA-gmj2-gq3j-vqmj. The public CVE API returned CVE_RECORD_DNE, NVD returned zero results, and the global GitHub API returned an empty list for that CVE. The three August records use package strings that return no matches in a global ecosystem=swift package query. The fourth uses the same package string as the reviewed controls and was published recently. These observations do not establish why GitHub has not curated any particular record.

Evidence

  • Expected source: GitHub's global advisory curation policy and the advisory database's supported ecosystems.
  • Failure source: The repository advisory listing and the two public ID lookups in Steps to reproduce. The advisory database's Git tree also contains the two reviewed controls and none of the four missing IDs.
  • Evidence provenance: observed
  • Local verification: reproduced
  • Reproduction completeness: complete

Runtime or environment

Public API results checked on 2026-11-21. The advisory database default branch was 16caf9dd1c497e31270bbc4303064bf4e504af9d. Sparkle's default branch was b7debdbd5cce8bef05d419512d9d6780e920c3cc, and its latest stable release was 2.10.1. Both Sparkle refs contain a Swift Package Manager manifest.

Restoration check

Repeat the ID lookups. Eligible missing advisories should return reviewed global records mapped to the same Swift package as the controls, which should remain retrievable. For records that require maintainer action or are ineligible, a curation disposition would clarify the remaining action or reason.

References

Triage assessment

  • Impact level: P2
  • Assessment status: supported
  • Impact basis: The two public feeds cannot return four published source records by ID. No particular scanner or application deployment was tested.
  • Workaround status: available
  • Workaround basis: The Sparkle repository's public advisory API returned the six source records and can be queried directly for this repository.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions