Skip to content

Add GRADLE prefix for the Gradle Advisory Database - #680

Merged
jess-lowe merged 1 commit into
ossf:mainfrom
ljacomet:add-gradle-prefix
Nov 29, 2026
Merged

jess-lowe merged 1 commit into
ossf:mainfrom
ljacomet:add-gradle-prefix

Conversation

@ljacomet

Copy link
Copy Markdown
Contributor

Summary

Add the GRADLE identifier prefix for the Gradle Advisory Database: OSV records for the security advisories of Gradle Build Tool, published by Gradle, the maintainers of the affected package.

The records are in the existing Maven ecosystem, under org.gradle:gradle-core, so no new ecosystem is needed. The data source request is google/osv.dev#6456.

Changes

  • validation/schema.json: GRADLE added to the $defs.prefix pattern.
  • docs/schema.md: GRADLE row in the table of database prefixes.
  • README.md: the database in the list of home databases.
  • tools/osv-linter/internal/schema/schema_generated.json: regenerated by scripts/update-ecosystems-lists.py.

Records

  • 29 records, schema 1.9.2, under Apache 2.0, in advisories/<year>/<id>.json.
  • Example ID: GRADLE-2023-0004 (record).
  • IDs are GRADLE-<year>-<number>, never changed or reused.
  • The records pass the JSON schema with this change applied, and osv-linter.

Gradle publishes OSV records for the security advisories of Gradle Build Tool, in the existing Maven ecosystem.

Signed-off-by: Louis Jacomet <louis@gradle.com>

@jess-lowe jess-lowe left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM! Thanks.

@jess-lowe
jess-lowe merged commit 1e61313 into ossf:main Nov 29, 2026
11 checks passed
jess-lowe pushed a commit that referenced this pull request Nov 30, 2026
Release version 1.9.3

Changes:
- Add Raspberry Pi OS ecosystem and `RPI` prefix (#631)
- Add Liberica JDK and Liberica NIK ecosystems (#660)
- Add `GRADLE` prefix (#680)
- Validate identifier character set across `id`, `aliases`, `upstream`,
and `related` (#668)
- Update `DHI` (#661) and `KUBE` (#667) OSV formatted URLs

agy

Signed-off-by: michaelkedar <michaelkedar@google.com>
@ljacomet

Copy link
Copy Markdown
Contributor Author

Thanks a lot for the quick approval!

jess-lowe pushed a commit to google/osv.dev that referenced this pull request Dec 2, 2026
…port) (#6458)

## What

Adds
[gradle/advisory-database](https://github.com/gradle/advisory-database)
to `source_test.yaml`: OSV records for the security advisories of Gradle
Build Tool, published by Gradle, under `Maven` /
`org.gradle:gradle-core` (`db_prefix: GRADLE-`).

Tracking issue: #6456. The prefix was reserved in ossf/osv-schema#680.

## Records

- 29 records in `advisories/<year>/<id>.json`, schema 1.9.2, under
Apache 2.0.
- One package, `org.gradle:gradle-core`, with `ECOSYSTEM` ranges only,
hence `ignore_git: True`. Every version exists on Maven Central.
- Each record aliases the CVE, when there is one, and the GHSA ID of the
repository advisory.
- The records pass `osv-linter` with all checks, so `strict_validation:
True`.

## Notes

- No `human_link`, as suggested in #6456: `link` points at the JSON
file.
- The entry follows the `drupal` one.
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.

2 participants