-
Notifications
You must be signed in to change notification settings - Fork 594
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
5 changed files
with
84 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# 2016 | ||
|
||
@@ toc | ||
|
||
@@@ index | ||
|
||
* [Directory Traversal Vulnerability Announcement](2016-09-30-windows-directory-traversal.md) | ||
|
||
@@@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# 2017 | ||
|
||
@@ toc | ||
|
||
@@@ index | ||
|
||
* [Illegal Media Range in Accept Header Causes StackOverflowError Leading to Denial of Service](2017-05-03-illegal-media-range-in-accept-header-causes-stackoverflowerror.md) | ||
* [Denial-of-Service by stream leak on unconsumed closed connections](2017-01-23-denial-of-service-via-leak-on-unconsumed-closed-connections.md) | ||
|
||
@@@ |
43 changes: 43 additions & 0 deletions
43
docs/src/main/paradox/security/2018-09-05-denial-of-service-via-decodeRequest.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# CVE-2018-16131: Denial of Service via unlimited decoding with decodeRequest directive ("zip bomb") | ||
|
||
## Date | ||
|
||
2018-09-05 | ||
|
||
## Description | ||
|
||
Directives `decodeRequest` and `decodeRequestWith` which handle compressed request data did not limit the amount of uncompressed | ||
data flowing out of it. In combination with common request directives like `entity(as)`, `toStrict`, or `formField`, this can lead | ||
to excessive memory usage ultimately leading to an out of memory situation when highly compressed data is received | ||
(so-called "Zip Bomb"). | ||
|
||
Any code that uses `decodeRequest` or `decodeRequestWith` is likely to be affected. | ||
|
||
## Severity | ||
|
||
The CVSS score of this vulnerability is 7.3 (High), based on vector | ||
[AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:H/RL:W/RC:C](https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:H/RL:W/RC:C). | ||
|
||
Rationale for the score: | ||
|
||
* A:H: Server runs into OOM, so availability is highly affected. | ||
* E:H: It's relatively simple to exploit. | ||
|
||
## Affected Versions | ||
|
||
All previously released Akka HTTP versions are affected: | ||
|
||
* `10.1.x` versions prior to `10.1.5` | ||
* `10.0.x` versions prior to `10.0.14` | ||
* Earlier end-of-lifed versions | ||
|
||
Not affected: | ||
|
||
* Play and Lagom applications, even though both are using Akka HTTP as their server backend, | ||
remain unaffected by this vulnerability. This is because they implement their own content | ||
length validations on top of the underlying models (by using `BodyParser`s). | ||
|
||
## Fixed Versions | ||
|
||
* 10.1.5 | ||
* 10.0.14 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# 2018 | ||
|
||
@@ toc | ||
|
||
@@@ index | ||
|
||
* [Denial of Service via unlimited decoding with decodeRequest directive ("zip bomb")](2018-09-05-denial-of-service-via-decodeRequest.md) | ||
|
||
@@@ |