Skip to content

Commit 0d08059

Browse files
committed
feat: add some OSV examples to DS3
1 parent e08aacb commit 0d08059

File tree

3 files changed

+259
-1
lines changed

3 files changed

+259
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
{
2+
"schema_version": "1.4.0",
3+
"id": "GHSA-9ph3-v2vh-3qx7",
4+
"modified": "2024-07-25T21:31:19Z",
5+
"published": "2024-04-02T09:30:42Z",
6+
"aliases": [
7+
"CVE-2024-1300"
8+
],
9+
"summary": "Eclipse Vert.x vulnerable to a memory leak in TCP servers",
10+
"details": "A vulnerability in the Eclipse Vert.x toolkit causes a memory leak in TCP servers configured with TLS and SNI support. When processing an unknown SNI server name assigned the default certificate instead of a mapped certificate, the SSL context is erroneously cached in the server name map, leading to memory exhaustion. This flaw allows attackers to send TLS client hello messages with fake server names, triggering a JVM out-of-memory error.",
11+
"severity": [
12+
{
13+
"type": "CVSS_V3",
14+
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L"
15+
}
16+
],
17+
"affected": [
18+
{
19+
"package": {
20+
"ecosystem": "Maven",
21+
"name": "io.vertx:vertx-core"
22+
},
23+
"ranges": [
24+
{
25+
"type": "ECOSYSTEM",
26+
"events": [
27+
{
28+
"introduced": "4.3.4"
29+
},
30+
{
31+
"fixed": "4.4.8"
32+
}
33+
]
34+
}
35+
]
36+
},
37+
{
38+
"package": {
39+
"ecosystem": "Maven",
40+
"name": "io.vertx:vertx-core"
41+
},
42+
"ranges": [
43+
{
44+
"type": "ECOSYSTEM",
45+
"events": [
46+
{
47+
"introduced": "4.5.0"
48+
},
49+
{
50+
"fixed": "4.5.3"
51+
}
52+
]
53+
}
54+
]
55+
}
56+
],
57+
"references": [
58+
{
59+
"type": "ADVISORY",
60+
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-1300"
61+
},
62+
{
63+
"type": "WEB",
64+
"url": "https://github.com/eclipse-vertx/vert.x/pull/5101"
65+
},
66+
{
67+
"type": "WEB",
68+
"url": "https://github.com/eclipse-vertx/vert.x/pull/5100"
69+
},
70+
{
71+
"type": "WEB",
72+
"url": "https://github.com/eclipse-vertx/vert.x/pull/5099"
73+
},
74+
{
75+
"type": "WEB",
76+
"url": "https://github.com/eclipse-vertx/vert.x/commit/7ad34ea9d78f85e26b231ee3ec8d492d10046479"
77+
},
78+
{
79+
"type": "WEB",
80+
"url": "https://github.com/eclipse-vertx/vert.x/commit/3d9235cadf44df39a70dc75bddfe0b8fcbd6a683"
81+
},
82+
{
83+
"type": "WEB",
84+
"url": "https://vertx.io/docs/vertx-core/java/#_server_name_indication_sni."
85+
},
86+
{
87+
"type": "PACKAGE",
88+
"url": "https://github.com/eclipse-vertx/vert.x"
89+
},
90+
{
91+
"type": "WEB",
92+
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2263139"
93+
},
94+
{
95+
"type": "WEB",
96+
"url": "https://access.redhat.com/security/cve/CVE-2024-1300"
97+
},
98+
{
99+
"type": "WEB",
100+
"url": "https://access.redhat.com/errata/RHSA-2024:4884"
101+
},
102+
{
103+
"type": "WEB",
104+
"url": "https://access.redhat.com/errata/RHSA-2024:3989"
105+
},
106+
{
107+
"type": "WEB",
108+
"url": "https://access.redhat.com/errata/RHSA-2024:3527"
109+
},
110+
{
111+
"type": "WEB",
112+
"url": "https://access.redhat.com/errata/RHSA-2024:2833"
113+
},
114+
{
115+
"type": "WEB",
116+
"url": "https://access.redhat.com/errata/RHSA-2024:2088"
117+
},
118+
{
119+
"type": "WEB",
120+
"url": "https://access.redhat.com/errata/RHSA-2024:1923"
121+
},
122+
{
123+
"type": "WEB",
124+
"url": "https://access.redhat.com/errata/RHSA-2024:1706"
125+
},
126+
{
127+
"type": "WEB",
128+
"url": "https://access.redhat.com/errata/RHSA-2024:1662"
129+
}
130+
],
131+
"database_specific": {
132+
"cwe_ids": [
133+
"CWE-400"
134+
],
135+
"severity": "MODERATE",
136+
"github_reviewed": true,
137+
"github_reviewed_at": "2024-04-02T16:15:47Z",
138+
"nvd_published_at": "2024-04-02T08:15:53Z"
139+
}
140+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
{
2+
"schema_version": "1.4.0",
3+
"id": "GHSA-mv64-86g8-cqq7",
4+
"modified": "2024-04-25T23:34:44Z",
5+
"published": "2024-04-25T18:30:39Z",
6+
"aliases": [
7+
"CVE-2024-1726"
8+
],
9+
"summary": "Quarkus: security checks in resteasy reactive may trigger a denial of service",
10+
"details": "A flaw was discovered in the RESTEasy Reactive implementation in Quarkus. Due to security checks for some JAX-RS endpoints being performed after serialization, more processing resources are consumed while the HTTP request is checked. In certain configurations, if an attacker has knowledge of any POST, PUT, or PATCH request paths, they can potentially identify vulnerable endpoints and trigger excessive resource usage as the endpoints process the requests. This can result in a denial of service.",
11+
"severity": [
12+
{
13+
"type": "CVSS_V3",
14+
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
15+
}
16+
],
17+
"affected": [
18+
{
19+
"package": {
20+
"ecosystem": "Maven",
21+
"name": "io.quarkus.resteasy.reactive:resteasy-reactive"
22+
},
23+
"ranges": [
24+
{
25+
"type": "ECOSYSTEM",
26+
"events": [
27+
{
28+
"introduced": "3.8.0.CR1"
29+
},
30+
{
31+
"fixed": "3.8.0"
32+
}
33+
]
34+
}
35+
],
36+
"versions": [
37+
"3.8.0.CR1"
38+
]
39+
},
40+
{
41+
"package": {
42+
"ecosystem": "Maven",
43+
"name": "io.quarkus.resteasy.reactive:resteasy-reactive"
44+
},
45+
"ranges": [
46+
{
47+
"type": "ECOSYSTEM",
48+
"events": [
49+
{
50+
"introduced": "3.3.0.CR1"
51+
},
52+
{
53+
"fixed": "3.7.4"
54+
}
55+
]
56+
}
57+
]
58+
},
59+
{
60+
"package": {
61+
"ecosystem": "Maven",
62+
"name": "io.quarkus.resteasy.reactive:resteasy-reactive"
63+
},
64+
"ranges": [
65+
{
66+
"type": "ECOSYSTEM",
67+
"events": [
68+
{
69+
"introduced": "0"
70+
},
71+
{
72+
"fixed": "3.2.11.Final"
73+
}
74+
]
75+
}
76+
]
77+
}
78+
],
79+
"references": [
80+
{
81+
"type": "ADVISORY",
82+
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-1726"
83+
},
84+
{
85+
"type": "WEB",
86+
"url": "https://github.com/quarkusio/quarkus/commit/34c1a63baf5401d0d578a23a1a4deb4b841ce65b"
87+
},
88+
{
89+
"type": "WEB",
90+
"url": "https://github.com/quarkusio/quarkus/commit/96d93427f3b4a7d3cff34d8b7b883e13cecd359c"
91+
},
92+
{
93+
"type": "WEB",
94+
"url": "https://access.redhat.com/errata/RHSA-2024:1662"
95+
},
96+
{
97+
"type": "WEB",
98+
"url": "https://access.redhat.com/security/cve/CVE-2024-1726"
99+
},
100+
{
101+
"type": "WEB",
102+
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2265158"
103+
},
104+
{
105+
"type": "PACKAGE",
106+
"url": "https://github.com/quarkusio/quarkus"
107+
}
108+
],
109+
"database_specific": {
110+
"cwe_ids": [
111+
"CWE-281"
112+
],
113+
"severity": "MODERATE",
114+
"github_reviewed": true,
115+
"github_reviewed_at": "2024-04-25T23:34:44Z",
116+
"nvd_published_at": "2024-04-25T17:15:48Z"
117+
}
118+
}

modules/fundamental/tests/dataset.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ async fn ingest(ctx: TrustifyContext) -> anyhow::Result<()> {
5656
log::info!("ingest: {}", humantime::Duration::from(ingest_time));
5757

5858
assert!(result.warnings.is_empty());
59-
assert_eq!(result.files.len(), 64);
59+
assert_eq!(result.files.len(), 66);
6060

6161
// get a document
6262

0 commit comments

Comments
 (0)