Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions .github/ecosystem-specific-schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "ecosystem_specific schema validation",
"description": "Validates the ecosystem_specific field in PYSEC advisory entries",
"type": "object",
"properties": {
"affected": {
"type": "array",
"items": {
"type": "object",
"properties": {
"ecosystem_specific": {
"$ref": "#/$defs/ecosystem_specific"
}
}
}
}
},
"$defs": {
"ecosystem_specific": {
"type": "object",
"required": ["imports"],
"additionalProperties": false,
"properties": {
"imports": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"required": ["attribute", "modules"],
"additionalProperties": false,
"properties": {
"attribute": {
"type": "string",
"minLength": 1
},
"modules": {
"type": "array",
"minItems": 1,
"items": {
"type": "string",
"minLength": 1
}
}
}
}
}
}
}
}
}
4 changes: 4 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ repos:
- id: check-jsonschema
files: "^vulns/[a-z0-9_-]+/.+\\.yaml"
args: [--schemafile, "https://raw.githubusercontent.com/ossf/osv-schema/refs/tags/v1.6.7/validation/schema.json", --no-cache]
- id: check-jsonschema
name: validate ecosystem_specific
files: "^vulns/[a-z0-9_-]+/.+\\.yaml"
args: [--schemafile, ".github/ecosystem-specific-schema.json"]
- repo: https://github.com/jackdewinter/pymarkdown
rev: v0.9.25
hooks:
Expand Down
5 changes: 5 additions & 0 deletions vulns/langchain-community/PYSEC-2025-70.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ affected:
events:
- introduced: "0"
- fixed: 0.0.28
ecosystem_specific:
imports:
- attribute: RequestsToolkit
modules:
- langchain_community.agent_toolkits.openapi.toolkit
versions:
- 0.0.1
- 0.0.10
Expand Down
5 changes: 5 additions & 0 deletions vulns/llama-index/PYSEC-2025-65.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ affected:
events:
- introduced: 0.12.27
- fixed: 0.12.41
ecosystem_specific:
imports:
- attribute: ImageDocument
modules:
- llama_index.core.schema
versions:
- 0.12.27
- 0.12.28
Expand Down
5 changes: 5 additions & 0 deletions vulns/pillow/PYSEC-2025-61.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ affected:
versions:
- 11.2.0
- 11.2.1
ecosystem_specific:
imports:
- attribute: save
modules:
- PIL.Image
aliases:
- CVE-2025-48379
- GHSA-xg8h-j46f-w952
Expand Down