Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

API returns wrong last_affected for twisted package and CVE-2026-106454

オープン
#6,180 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
66/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
go, python

調査の方向性

Start by tracing the /v1/query API handling for PyPI packages and how it reads the affected ranges for CVE-2026-106454. Compare the stored vulnerability data with the NVD range cited in the issue, which says versions through 25.5.0 are affected. Done means querying twisted 26.4.0 no longer reports this vulnerability, while versions at or below 25.5.0 remain affected.

索引モデルが issue の本文から書いたものです。

説明

Describe the bug
If one queries the API for the package "twisted" version 26.4.0 (which is the latest version) it reports that it is affected by vulnerability CVE-2026-106454. However the documentation of the of the vulnerability https://nvd.nist.gov/vuln/detail/CVE-2026-106454 clearly states that only versions <= 25.5.0 are affected

Image

To Reproduce

 curl -X POST -d \
                '{"version": "26.4.0", "package": {"name": "twisted", "ecosystem": "PyPI"}}' \
                "https://api.osv.dev/v1/query"

This returns:

...
{ ...
"aliases": [
     "CVE-2026-106454",
     "PYSEC-2026-4304"
],
"affected": [
                {
                    "package": {
                        "name": "twisted",
                        "ecosystem": "PyPI",
                        "purl": "pkg:pypi/twisted"
                    },
                    "ranges": [
                        {
                            "type": "ECOSYSTEM",
                            "events": [
                                {
                                    "introduced": "0"
                                },
                                {
                                    "last_affected": "26.4.0"
                                }
                            ]
                        }
                    ],
                   "versions": [
                                ...
                               "26.4.0",
                                ...
}
...

Expected behaviour
Last affected version should be reported as 25.5.0 and not 26.4.0.

主要言語
Go
スター
3k
フォーク
382
平均マージ
1日 10時間
マージ済み PR(30日)
130

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

google/osv.dev のほかの issue

google/osv.dev の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。