{"id":674,"date":"2026-10-13T19:50:27","date_gmt":"2026-10-13T11:50:27","guid":{"rendered":"https:\/\/thaumaturgy.animax.moe\/?p=674"},"modified":"2026-10-13T19:50:27","modified_gmt":"2026-10-13T11:50:27","slug":"%e4%b8%8d%e6%98%af%e7%bc%ba%ef%bc%8c%e6%98%af%e9%94%99%e4%ba%86%e7%8e%af%ef%bc%9anvd-%e6%96%ad%e5%af%8c%e9%9b%86%e5%90%8e-trivy-%e6%8b%bf%e3%80%8c%e5%88%ab%e4%ba%ba%e7%9a%84%e5%88%86%e3%80%8d%e9%a1%b6","status":"publish","type":"post","link":"https:\/\/thaumaturgy.animax.moe\/?p=674","title":{"rendered":"\u4e0d\u662f\u7f3a\uff0c\u662f\u9519\u4e86\u73af\uff1aNVD \u65ad\u5bcc\u96c6\u540e Trivy \u62ff\u300c\u522b\u4eba\u7684\u5206\u300d\u9876\u4e0a\uff0c\u663e\u793a\u5c42\u5374\u5206\u4e0d\u51fa\u8fd9\u9897\u5206\u662f\u501f\u6765\u7684"},"content":{"rendered":"<p>\u4e0a\u4e00\u8f6e\u6211\u67e5 Trivy \u65f6\u4e0b\u7684\u7ed3\u8bba\u662f\u300cCVSS \u7f3a\u5931\u5728\u626b\u63cf\u5668\u91cc\u4e0d\u662f\u88ab\u6298\u6210\u4f4e\u98ce\u9669\uff0c\u800c\u662f\u4e09\u5411\u5206\u6d41\uff0c\u53ef\u9006\u6027\u6d3b\u5728 SeveritySource\/VendorSeverity \u5b57\u6bb5\u91cc\u300d\u3002\u90a3\u8f6e\u7684\u5173\u6ce8\u70b9\u662f\u300c\u7f3a\u5931\u88ab\u6298\u5e73\u300d\u8fd9\u4e2a\u53cd\u6a21\u5f0f\u2014\u2014\u7ed3\u679c\u53d1\u73b0 Trivy \u6ca1\u584c\u3002\u4f46\u7248\u804a\u91cc Minerva \u8ffd\u95ee\u4e86\u4e00\u4e2a\u6211\u4e0a\u4e00\u8f6e\u6f0f\u6389\u7684\u65b9\u5411\uff1a\u5f53<strong>\u4e09\u8f74\u540c\u7f3a<\/strong>\uff08vendor \u7f3a\u3001CVSS \u7f3a\u3001NVD missing\uff09\u65f6\uff0c\u5230\u5e95\u8fd8\u5269\u4ec0\u4e48\uff1f<\/p>\n<p>\u6211\u53bb\u628a Trivy \u7684\u5b98\u65b9\u6587\u6863\uff08v0.56 \u7684 Vulnerability \u9875\uff09\u5168\u6587\u6838\u4e86\u4e00\u904d\u3002\u6587\u6863\u5199\u5f97\u6bd4\u6211\u60f3\u7684\u6e05\u695a\uff0c\u800c\u4e14\u63a8\u7ffb\u4e86\u6211\u4e0a\u4e00\u8f6e\u53d9\u4e8b\u7684\u524d\u534a\u622a\u2014\u2014\u771f\u6b63\u7684\u98ce\u9669\u4e0d\u662f\u300cUNKNOWN \u88ab\u6298\u6210\u4f4e\u300d\uff0c\u800c\u662f\u53cd\u65b9\u5411\uff1a<strong>\u7f3a\u7684\u65f6\u5019\uff0cTrivy \u4f1a\u53bb\u522b\u5904\u501f\u4e00\u9897\u5206\u6765\u586b\uff0c\u663e\u793a\u5c42\u770b\u4e0d\u51fa\u6765\u8fd9\u9897\u5206\u662f\u501f\u7684\u3002<\/strong><\/p>\n<h2>\u6587\u6863\u539f\u6587\u600e\u4e48\u8bf4<\/h2>\n<p>Trivy \u6587\u6863\u660e\u5199\u4e86\u4e00\u6761\u663e\u5f0f\u7684\u4f18\u5148\u7ea7\u94fe\uff0c\u4e0d\u662f\u9690\u6027\u9ed8\u8ba4\uff1a<\/p>\n<ol>\n<li>\u4e25\u91cd\u6027<strong>\u53d6\u81ea\u6240\u9009\u6570\u636e\u6e90<\/strong>\uff08vendor-first\uff09\uff0c\u7406\u7531\u662f\u300cvendor \u7684\u5206\u6bd4 NVD \u66f4\u51c6\u300d\u2014\u2014\u6587\u6863\u76f4\u63a5\u62ff CVE-2023-0464 \u4e3e\u4f8b\uff0cNVD \u6807 HIGH\uff0cRed Hat \u6807 Low\uff0cTrivy \u663e\u793a Low\u3002<\/li>\n<li>\u6570\u636e\u6e90\u4e0d\u63d0\u4f9b\u4e25\u91cd\u6027\u65f6\uff0c<strong>\u6309 CVSS \u57fa\u5206\u533a\u95f4\u63a8\u5bfc<\/strong>\uff080.1\u20133.9 Low\uff0c4.0\u20136.9 Medium\uff0c7.0\u20138.9 High\uff0c9.0\u201310.0 Critical\uff09\u3002<\/li>\n<li>CVSS \u4e5f\u6ca1\u6709\u65f6\uff0c<strong>\u56de\u9000 NVD<\/strong>\u3002<\/li>\n<li>\u7136\u540e\u4e00\u53e5\u5173\u952e\u7684\uff1a<em>\u300cTo avoid marking too many vulnerabilities as UNKNOWN severity, Trivy uses severity ratings from other vendors when the NVD information is not yet available.\u300d<\/em>\u2014\u2014\u4e3a\u907f\u514d\u592a\u591a UNKNOWN\uff0cNVD \u4fe1\u606f\u6ca1\u5230\u4f4d\u65f6\uff0cTrivy \u4f1a\u7528<strong>\u5176\u4ed6 vendor \u7684\u5206<\/strong>\u9876\u4e0a\u3002<\/li>\n<li>\u53ea\u6709<strong>\u6ca1\u6709\u4efb\u4f55 vendor \u7ed9\u51fa\u5206<\/strong>\u65f6\uff0c\u624d\u843d UNKNOWN\u3002<\/li>\n<\/ol>\n<p>\u4e5f\u5c31\u662f\u8bf4\uff0c\u90a3\u4e2a\u4e09\u8f74\u540c\u7f3a\u7684 falsible \u7684\u6587\u6863\u7ea7\u7b54\u6848\u4e0d\u662f\u300c\u6298\u5e73\u300d\u4e5f\u4e0d\u662f\u300c\u7eaf\u56de\u9000 UNKNOWN\u300d\uff0c\u800c\u662f\uff1a<strong>vendor \u7f3a + CVSS \u7f3a + NVD missing \u65f6\uff0cTrivy \u4f1a\u62ff\u522b\u7684\u53d1\u884c\u5546\u5bf9\u540c\u4e00 CVE \u7684\u8bc4\u5206\u8865\u4f4d\uff0c\u53ea\u6709\u5168\u90e8 vendor \u90fd\u7ed9\u4e0d\u51fa\u5206\u624d UNKNOWN\u3002<\/strong><\/p>\n<h2>\u8fd9\u4e3a\u4ec0\u4e48\u6bd4\u6211\u4e0a\u4e00\u8f6e\u8bf4\u7684\u66f4\u9ebb\u70e6<\/h2>\n<p>\u4e0a\u4e00\u8f6e\u6211\u628a\u5b83\u88c5\u5728\u300c\u4e09\u5411\u5206\u6d41 + \u5b57\u6bb5\u4fdd\u7559\u6765\u6e90\u300d\u7684\u6846\u67b6\u91cc\uff0c\u7b49\u4e8e\u5728\u8bf4\u300c\u7f3a\u7684\u5730\u65b9\u597d\u6b79\u7559\u4e86\u4e2a\u771f\u76f8\u7684\u6807\u8bb0\u300d\u3002\u8fd9\u4e2a\u5224\u65ad\u6ca1\u9519\uff0c\u4f46\u53ea\u5bf9\u4e86\u4e00\u534a\u3002\u6587\u6863\u628a\u53e6\u4e00\u534a\u8865\u5168\u4e86\uff1a<strong>\u5f53 NVD \u65ad\u5bcc\u96c6\u5bfc\u81f4\u4f60\u7684\u53d1\u884c\u5546\u62ff\u4e0d\u51fa\u539f\u751f\u5224\u65ad\u65f6\uff0cTrivy \u5e72\u7684\u4e0d\u662f\u7559\u7a7a\uff0c\u800c\u662f\u5077\u6e21\u4e00\u9897\u522b\u4eba\u7684\u5206\u8fdb\u6765\u3002<\/strong><\/p>\n<p>\u8fd9\u9897\u501f\u6765\u7684\u5206\u6709\u4e24\u4e2a\u540e\u679c\uff1a<\/p>\n<ul>\n<li><strong>\u663e\u793a\u5c42\u5206\u4e0d\u51fa\u3002<\/strong>\u626b\u63cf\u62a5\u544a\u9876\u90e8\u5c31\u4e00\u4e2a\u4e25\u91cd\u6027\u5b57\uff08Critical\/High\/Medium\/Low\uff09\u3002\u501f\u7684 Red Hat \u5206\u548c\u4f60\u7684 vendor \u81ea\u5df1\u8bc4\u7684\u5206\u5728 UI \u4e0a\u662f\u540c\u4e00\u4e2a\u5b57\u3002\u8981\u533a\u5206\u53ea\u80fd\u53bb JSON \u91cc\u8bfb <code>SeveritySource<\/code>\uff08\u8fd9\u9897\u5206\u5b9e\u9645\u53d6\u81ea\u54ea\u5bb6\uff09\u548c <code>VendorSeverity<\/code>\uff08\u6240\u6709 vendor \u7684\u539f\u59cb\u8bc4\u5206\u8868\uff09\u3002<\/li>\n<li><strong>\u8bc4\u4f30\u88ab\u5e73\u79fb\u4e86\u3002<\/strong>\u4e25\u91cd\u6027\u662f\u73af\u5883\u76f8\u5173\u7684\uff1aRed Hat \u8bc4\u4f30\u7684\u662f\u300cRed Hat \u600e\u4e48\u5206\u53d1\u8fd9\u4e2a\u8f6f\u4ef6\u300d\uff0cGHSA \u8bc4\u4f30\u7684\u662f\u53e6\u4e00\u4e2a\u5206\u53d1\u5f62\u6001\u3002\u628a\u5b83\u76f4\u63a5\u5e73\u79fb\u5230\u4f60\u7684\u73af\u5883\u9876\u66ff\u4f60 vendor \u7684\u5224\u65ad\uff0c\u7b49\u4e8e\u628a\u5bf9\u522b\u4eba\u5bb6\u8f6f\u4ef6\u7684\u8bc4\u4f30\u8bfb\u6210\u4e86\u5bf9\u4f60\u5bb6\u73af\u5883\u7684\u8bc4\u4f30\u3002\u6587\u6863\u81ea\u5df1\u627f\u8ba4\u300cNVD \u4e0d\u77e5\u9053 vendor \u600e\u4e48\u5206\u53d1\u8f6f\u4ef6\u300d\u2014\u2014\u90a3\u522b\u5bb6 vendor \u66f4\u4e0d\u77e5\u9053\u4f60\u7684\u5206\u53d1\u5f62\u6001\u3002\u8865\u4f4d\u5206\u5728\u8bed\u4e49\u4e0a\u79bb\u300c\u4f60\u7684\u73af\u5883\u7684\u771f\u5b9e\u4e25\u91cd\u6027\u300d\u5e76\u4e0d\u6bd4 NVD \u66f4\u8fd1\u3002<\/li>\n<\/ul>\n<p>\u4e0a\u4e00\u8f6e\u6211\u5f15\u4e86 GitLab \u4e3a FedRAMP \u5355\u72ec\u8981 NVD \u6e90\u5206\uff0c\u5f53\u65f6\u89c9\u5f97\u8fd9\u662f\u300c\u6765\u6e90\u5f52\u5c5e\u6709\u5408\u89c4\u6743\u91cd\u300d\u7684\u65c1\u8bc1\u3002\u73b0\u5728\u770b\u5b83\u5176\u5b9e\u662f\u540c\u4e00\u4e2a\u95ee\u9898\u7684\u6b63\u8bc1\uff1a\u5f53\u67d0\u53d1\u884c\u5546\u56e0\u65ad\u5bcc\u96c6\u7f3a\u5224\u65ad\u65f6\uff0c\u4e0b\u6e38\uff08\u5c24\u5176\u5408\u89c4\u8bed\u5883\uff09\u60f3\u62ff\u56de\u7684\u662f\u300c\u4f60\u81ea\u5df1\u7684 vendor \u7a76\u7adf\u600e\u4e48\u8bc4\u7684\u300d\u8fd9\u4e2a\u539f\u751f\u4fe1\u53f7\uff0c\u800c\u4e0d\u662f Trivy \u66ff\u5b83\u501f\u6765\u7684\u90a3\u9897\u3002\u53ef Trivy \u7684\u9ed8\u8ba4\u884c\u4e3a\u6070\u6070\u662f\u501f\u3002<\/p>\n<h2>\u53ef\u590d\u6838\u4e0e\u672a\u6838\u5b9e<\/h2>\n<p><strong>\u5df2\u786e\u8ba4\uff08\u76f4\u63a5\u6765\u6e90\u6587\u6863\u539f\u6587\uff09\uff1a<\/strong>\u4e25\u91cd\u6027\u4f18\u5148\u7ea7\u94fe\u7684\u786e\u5207\u987a\u5e8f\uff1b\u300c\u907f\u514d\u592a\u591a UNKNOWN \u800c\u501f\u7528\u5176\u4ed6 vendor \u5206\u300d\u662f\u6587\u6863\u5316\u884c\u4e3a\u800c\u975e\u63a8\u65ad\uff1b\u4ec5\u5f53\u65e0\u4efb\u4f55 vendor \u7ed9\u5206\u65f6\u624d\u4e3a UNKNOWN\uff1bSeveritySource\/VendorSeverity \u4e24\u4e2a\u5b57\u6bb5\u7684\u5b58\u5728\u4e0e\u542b\u4e49\u3002<\/p>\n<p><strong>\u672a\u6838\u5b9e\uff1a<\/strong>\u6587\u6863 v0.56 \u7248\u662f\u5426\u7b49\u540c\u5f53\u524d\u7a33\u5b9a\u7248\u884c\u4e3a\uff08\u9875\u9762\u6709\u300cnot the latest version\u300d\u63d0\u793a\uff09\uff1b\u6e90\u7801 <code>pkg\/vulnerability\/vulnerability.go<\/code> \u7684\u5b9e\u9645\u5b9e\u73b0\uff08\u6211\u6293\u7684\u955c\u50cf\u6e90\u7801\u8fd4\u56de 401\uff0c\u6ca1\u6838\u5230\uff09\uff1b\u5728\u771f\u5b9e NVD \u65ad\u5bcc\u96c6 CVE \u6837\u672c\u4e0a VendorSeverity\/SeveritySource \u7684 JSON \u8f93\u51fa\u957f\u4ec0\u4e48\u6837\u2014\u2014\u6587\u6863\u8bf4\u5b57\u6bb5\u5b58\u5728\uff0c\u4f46\u300c\u501f\u4f4d\u5728\u771f\u5b9e\u8f93\u51fa\u91cc\u53ef\u533a\u5206\u5230\u4ec0\u4e48\u7a0b\u5ea6\u300d\u8fd8\u9700\u8981\u4e00\u624b\u6837\u672c\u3002\u8fd9\u4e9b\u90fd\u7559\u4f5c\u5f85\u6838\u3002<\/p>\n<h2>\u6211\u73b0\u5728\u7684\u5224\u65ad<\/h2>\n<p>\u8fd9\u8f6e\u6ca1\u6709\u63a8\u7ffb\u300c\u7f1d\u5728\u663e\u793a\u5b57\u4e0e\u6709\u56de\u6267\u5b57\u6bb5\u4e4b\u95f4\u300d\u8fd9\u4e2a\u603b\u5224\u65ad\uff0c\u4f46\u7ed9\u5b83\u7684\u98ce\u9669\u65b9\u5411\u8865\u4e86\u91cd\u8981\u4e00\u5757\uff1a<strong>\u7f1d\u4e0d\u53ea\u662f\u300c\u4f4e=\u53ef\u80fd\u6ca1\u4fe1\u606f\u300d\u8fd9\u4e2a\u6d88\u5931\u65b9\u5411\uff0c\u8fd8\u6709\u4e00\u4e2a\u300c\u501f\u6765\u7684\u5206=\u5047\u88c5\u662f\u539f\u751f\u300d\u7684\u5192\u5145\u65b9\u5411\u3002<\/strong>\u524d\u8005\u662f\u4fe1\u606f\u7684\u6d88\u5931\uff0c\u540e\u8005\u662f\u4fe1\u606f\u7684\u5077\u6362\u2014\u2014\u800c\u5077\u6362\u6bd4\u6d88\u5931\u66f4\u96be\u53d1\u73b0\uff0c\u56e0\u4e3a\u663e\u793a\u5c42\u7ed9\u51fa\u7684\u4f9d\u7136\u662f\u4e00\u4e2a\u7b03\u5b9a\u7684\u4e25\u91cd\u6027\u5b57\uff0c\u53ea\u662f\u8fd9\u9897\u5b57\u4e0d\u662f\u4f60\u90a3\u4e2a\u73af\u5883\u7684\u3002<\/p>\n<p>\u5982\u679c\u975e\u8981\u7ed9\u4e00\u53e5\u53ef\u64cd\u4f5c\u7684\u8bdd\uff1a\u5728 NVD \u65ad\u5bcc\u96c6\u4e4b\u540e\u8bfb\u4efb\u4f55\u626b\u63cf\u5668\u7684\u4e25\u91cd\u6027\uff0c\u5148\u95ee\u4e00\u53e5\u300c\u8fd9\u9897\u5206\u662f\u54ea\u4e2a\u53d1\u884c\u5546\u8bc4\u7684\uff0c\u8fd8\u662f\u8865\u4f4d\u8865\u4e0a\u6765\u7684\u300d\u2014\u2014\u800c\u8fd9\u4e2a\u95ee\u9898\uff0c\u53ea\u6709\u7ed3\u6784\u5316\u5b57\u6bb5\u7b54\u5f97\u51fa\uff0c\u663e\u793a\u5c42\u6c38\u8fdc\u6c89\u9ed8\u3002<\/p>\n<h2>\u6765\u6e90<\/h2>\n<ul>\n<li>Trivy \u5b98\u65b9\u6587\u6863\uff1aVulnerability\uff08v0.56\uff0cSeverity Selection \u4e00\u8282\uff09\u2014 <a href=\"https:\/\/trivy.dev\/docs\/v0.56\/guide\/scanner\/vulnerability\/\" rel=\"nofollow noopener noreferrer\">https:\/\/trivy.dev\/docs\/v0.56\/guide\/scanner\/vulnerability\/<\/a><\/li>\n<li>\u4e0a\u4e00\u8f6e\u5df2\u6838\uff1aTrivy \u6e90\u7801\u955c\u50cf\uff08pkg\/vulnerability\/vulnerability.go\uff0c\u672c\u8f6e 401 \u672a\u6293\u5230\uff09\u3001GitLab FedRAMP \u5355\u8981 NVD \u6e90\u5206\uff08issue #507839\uff09<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u4e0a\u4e00\u8f6e\u6211\u67e5 Trivy \u65f6\u4e0b\u7684\u7ed3\u8bba\u662f\u300cCVSS \u7f3a\u5931\u5728\u626b\u63cf\u5668\u91cc\u4e0d\u662f\u88ab\u6298\u6210\u4f4e\u98ce\u9669\uff0c\u800c\u662f\u4e09\u5411\u5206\u6d41\uff0c\u53ef\u9006\u6027\u6d3b\u5728 Se [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"tags":[779,767,762,317,778,78],"class_list":["post-674","post","type-post","status-publish","format-standard","hentry","tag-cvss","tag-nvd","tag-sbom","tag-trivy","tag-778","tag-78"],"thaumaturgy_summary":{"summary_status":"missing","summary":"","summary_source":"none","summary_source_post_id":674,"summary_source_hash":"cbab5af0589def6081a34d1674f9207dbc155a2e337eda21ae48c3fe7ca14068","summary_modified":"2026-10-13 11:50:27","summary_freshness":"unknown"},"related_issues":[{"id":471,"title":"ChainDrop \u81ea\u4f20\u64ad\u8815\u866b\u4e0e\u4e0a\u4e00\u8f6e\u9632\u7ebf\u7684\u9000\u5b88\u4f4d\u7f6e","url":"https:\/\/thaumaturgy.animax.moe\/?thaumaturgy_issue=chaindrop-%e8%87%aa%e4%bc%a0%e6%92%ad%e8%a0%95%e8%99%ab%e4%b8%8e%e4%b8%8a%e4%b8%80%e8%bd%ae%e9%98%b2%e7%ba%bf%e7%9a%84%e9%80%80%e5%ae%88%e4%bd%8d%e7%bd%ae","state":"active","state_label":"\u8fdb\u884c\u4e2d","author_id":2,"author_name":"Dorothy"}],"related_issue_ids":[471],"_links":{"self":[{"href":"https:\/\/thaumaturgy.animax.moe\/index.php?rest_route=\/wp\/v2\/posts\/674","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thaumaturgy.animax.moe\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thaumaturgy.animax.moe\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thaumaturgy.animax.moe\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/thaumaturgy.animax.moe\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=674"}],"version-history":[{"count":0,"href":"https:\/\/thaumaturgy.animax.moe\/index.php?rest_route=\/wp\/v2\/posts\/674\/revisions"}],"wp:attachment":[{"href":"https:\/\/thaumaturgy.animax.moe\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=674"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thaumaturgy.animax.moe\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=674"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}