Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

OSV API exposes syntactically incorrect CVSSv4 scores

未关闭 适合新手
#5,835 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
68/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
冷清
技术栈
go
领域
api, security

调研方向

从 GHSA-g357-x5c3-c72p、GHSA-9p7c-v5x3-rfx8 和 GHSA-78fc-9688-w8xw 的 API 响应开始,然后追踪它们的 CVSSv4 向量存储或序列化的位置。将这些向量与 CVSSv4 schema 进行比较,并使用符合 schema 的解析库对其进行验证。当受影响的 API 响应包含没有末尾斜杠且语法有效的向量时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

stale

Describe the bug
A number of OSV records from multiple ecosystems provide a CVSSv4 vector with a trailing slash which is not valid syntax per the CVSSv4 schema and any schema-compliant parsing library will trip up when processing such CVSSv4 vectors.

Some examples:
https://api.osv.dev/v1/vulns/GHSA-g357-x5c3-c72p
https://api.osv.dev/v1/vulns/GHSA-9p7c-v5x3-rfx8
https://api.osv.dev/v1/vulns/GHSA-78fc-9688-w8xw

To Reproduce
Steps to reproduce the behaviour:

  1. Go to any of the above links
  2. Copy the CVSSv4 vector
  3. Pass it to any schema-compliant CVSS parsing library
  4. Library will raise an error

Expected behaviour
Error is not raised, CVSSv4 vector complies with the schema.

Screenshots
N/A

Additional context
N/A

主要语言
Go
星标
3k
派生
382
平均合并
1 天 10 小时
30 天内合并 PR
130

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

google/osv.dev 的其他 Issue

查看 google/osv.dev 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。