Skip to content

Commit 39fd0a4

Browse files
Merge pull request #6395 from github/lukestephenson-zendesk-GHSA-rrw2-px9j-qffj
2 parents 1f412bb + bd841d8 commit 39fd0a4

File tree

1 file changed

+76
-2
lines changed

1 file changed

+76
-2
lines changed

advisories/github-reviewed/2025/09/GHSA-rrw2-px9j-qffj/GHSA-rrw2-px9j-qffj.json

Lines changed: 76 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"schema_version": "1.4.0",
33
"id": "GHSA-rrw2-px9j-qffj",
4-
"modified": "2025-09-10T20:50:04Z",
4+
"modified": "2025-09-10T20:50:05Z",
55
"published": "2025-09-05T20:58:23Z",
66
"aliases": [
77
"CVE-2025-58369"
88
],
99
"summary": "FS2 half-shutdown of socket during TLS handshake may result in spin loop on opposite side",
10-
"details": "### Impact\nWhen establishing a TLS session using `fs2-io` on the JVM using the `fs2.io.net.tls` package, if one side of the connection shuts down write while the peer side is awaiting more data to progress the TLS handshake, the peer side will spin loop on the socket read, fully utilizing a CPU. This CPU is consumed until the overall connection is closed.\n\nThis could be used as a denial of service attack on an fs2-io powered server -- for example, by opening many connections and putting them in a half-shutdown state.\n\nNote: this issue impacts ember backed http4s servers with HTTPS as a result of ember using fs2's TLS support.\n\n### Patches\nFixed in fs2 3.12.2 and 3.13.0-M7.\n\n### Workarounds\nNo workarounds.\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n\n[Open an issue.](https://github.com/typelevel/fs2/issues/new/choose)\nContact the [Typelevel Security Team](https://github.com/typelevel/.github/blob/main/SECURITY.md).",
10+
"details": "### Impact\nWhen establishing a TLS session using `fs2-io` on the JVM using the `fs2.io.net.tls` package, if one side of the connection shuts down write while the peer side is awaiting more data to progress the TLS handshake, the peer side will spin loop on the socket read, fully utilizing a CPU. This CPU is consumed until the overall connection is closed.\n\nThis could be used as a denial of service attack on an fs2-io powered server -- for example, by opening many connections and putting them in a half-shutdown state.\n\nNote: this issue impacts ember backed http4s servers with HTTPS as a result of ember using fs2's TLS support.\n\n### Patches\nFixed in fs2 v2.5.13, 3.12.2 and 3.13.0-M7.\n\n### Workarounds\nNo workarounds.\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n\n[Open an issue.](https://github.com/typelevel/fs2/issues/new/choose)\nContact the [Typelevel Security Team](https://github.com/typelevel/.github/blob/main/SECURITY.md).",
1111
"severity": [
1212
{
1313
"type": "CVSS_V3",
@@ -280,6 +280,72 @@
280280
"database_specific": {
281281
"last_known_affected_version_range": "< 3.12.2"
282282
}
283+
},
284+
{
285+
"package": {
286+
"ecosystem": "Maven",
287+
"name": "co.fs2:fs2-io_2.13"
288+
},
289+
"ranges": [
290+
{
291+
"type": "ECOSYSTEM",
292+
"events": [
293+
{
294+
"introduced": "0"
295+
},
296+
{
297+
"fixed": "2.5.13"
298+
}
299+
]
300+
}
301+
],
302+
"database_specific": {
303+
"last_known_affected_version_range": "< 2.5.12"
304+
}
305+
},
306+
{
307+
"package": {
308+
"ecosystem": "Maven",
309+
"name": "co.fs2:fs2-io_2.12"
310+
},
311+
"ranges": [
312+
{
313+
"type": "ECOSYSTEM",
314+
"events": [
315+
{
316+
"introduced": "0"
317+
},
318+
{
319+
"fixed": "2.5.13"
320+
}
321+
]
322+
}
323+
],
324+
"database_specific": {
325+
"last_known_affected_version_range": "< 2.5.12"
326+
}
327+
},
328+
{
329+
"package": {
330+
"ecosystem": "Maven",
331+
"name": "co.fs2:fs2-io_3"
332+
},
333+
"ranges": [
334+
{
335+
"type": "ECOSYSTEM",
336+
"events": [
337+
{
338+
"introduced": "0"
339+
},
340+
{
341+
"fixed": "2.5.13"
342+
}
343+
]
344+
}
345+
],
346+
"database_specific": {
347+
"last_known_affected_version_range": "< 2.5.12"
348+
}
283349
}
284350
],
285351
"references": [
@@ -303,10 +369,18 @@
303369
"type": "WEB",
304370
"url": "https://github.com/typelevel/fs2/commit/5c6c4c6c1ef330f7e6b53661ecc63d5f5ba8885c"
305371
},
372+
{
373+
"type": "WEB",
374+
"url": "https://github.com/typelevel/fs2/commit/c384fde892b1c085bf59c11c220968c75a1965ab"
375+
},
306376
{
307377
"type": "PACKAGE",
308378
"url": "https://github.com/typelevel/fs2"
309379
},
380+
{
381+
"type": "WEB",
382+
"url": "https://github.com/typelevel/fs2/releases/tag/v2.5.13"
383+
},
310384
{
311385
"type": "WEB",
312386
"url": "https://github.com/typelevel/fs2/releases/tag/v3.12.2"

0 commit comments

Comments
 (0)