curl importer keeps only the first fixed version (166 missing across 66 advisories)
Los mantenedores suelen responder en 5 días
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 72/100
Línea de trabajo
Empieza en parse_curl_advisory en el importador curl_importer_v2, donde events se lee como events[1] y se descarta cualquier otro evento fixed. Cámbialo para recopilar todos los eventos fixed de los rangos SEMVER en fixed_version_range, luego añade una prueba con un aviso de múltiples correcciones, como CURL-CVE-2026-107929. Se considera terminado cuando las cuatro versiones corregidas se almacenan y el importador deja la ruta UnboundLocalError de #2214 fuera de alcance.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
curl_importer_v2 only records the first fixed version of each curl advisory.
curl's vuln.json has one introduced/fixed pair for every release line that got a fix. parse_curl_advisory reads events[1] and ignores the rest:
events = get_item(ranges, "events")[1] if len(get_item(ranges, "events")) > 1 else {}
I ran the parser from main (9a9c9b3) over today's feed:
| count | |
|---|---|
| advisories | 239 |
| fixed versions listed in the SEMVER ranges | 405 |
fixed versions missing from fixed_version_range |
166 |
| advisories affected | 66 |
Example, CURL-CVE-2026-107929:
- feed: fixed in
8.14.3,8.16.2,8.20.2and8.23.0 - imported:
vers:generic/8.14.3
So for that CVE, 8.23.0 is never stored as a fix. Someone on a newer release line is only pointed at the oldest branch.
I have a small fix with a test that collects every fixed event. With it, the same comparison shows 0 missing. I'd like to open the PR for this.
This is separate from #2214, which handles the UnboundLocalError for advisories without a SEMVER range.
- Lenguaje dominante
- Python
- Estrellas
- 722
- Forks
- 364
- Merge medio
- 2 d 22 h
- PR fusionados (30 d)
- 2
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de aboutcode-org/vulnerablecode
-
Elixir Security importer drops affected packages when an advisory lists no patched or unaffected versionsPosiblemente ocupada @sanchit955 la tomó hace 1 día. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
aboutcode-org/vulnerablecode#2540 ·
Los mantenedores suelen responder en 5 días
-
ApacheTomcatImporterPipeline truncates milestone fixed versions (e.g. 11.0.0-M6 -> 11.0.0)Posiblemente ocupada @nikolya-ctrl la tomó hace 3 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
aboutcode-org/vulnerablecode#2533 ·
Los mantenedores suelen responder en 5 días
-
`gitlab_importer_v2` pipeline failing due to malformed YAML filePosiblemente ocupada @Gowri213 la tomó hace 4 días. Abiertobug Pipeline: Failure Priority: high
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
aboutcode-org/vulnerablecode#2523 · 1 comentario ·
Los mantenedores suelen responder en 5 días
-
Affected-by-advisories v2 page returns 500 for a purl with no matching packagePosiblemente ocupada @sanchit955 la tomó hace 12 días. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
aboutcode-org/vulnerablecode#2501 ·
Los mantenedores suelen responder en 5 días
-
OSV v3 parser shares introduced/fixed commit patches across affected packagesPosiblemente ocupada @Celestial-0 la tomó hace 25 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
aboutcode-org/vulnerablecode#2489 ·
Los mantenedores suelen responder en 5 días
Todos los issues de aboutcode-org/vulnerablecode
Issues similares
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
521xueweihan/HelloGitHub#4599 ·
-
Bug Needs Triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
pandas-dev/pandas#72413 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
compiler-explorer/compiler-explorer#9710 ·
Los mantenedores suelen responder en 1 día
-
bug harness
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
mruangutai/harness#2687 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
modal-labs/modal-client#4158 ·