Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1310 CNY

100%

CVE-2020-27223 PoC — Eclipse Jetty 资源管理错误漏洞

Source
Associated Vulnerability
Title:Eclipse Jetty 资源管理错误漏洞 (CVE-2020-27223)
Description:In Eclipse Jetty 9.4.6.v20170531 to 9.4.36.v20210114 (inclusive), 10.0.0, and 11.0.0 when Jetty handles a request containing multiple Accept headers with a large number of “quality” (i.e. q) parameters, the server may enter a denial of service (DoS) state due to high CPU usage processing those quality values, resulting in minutes of CPU time exhausted processing those quality values.
Description
CVE-2020-27223 Vulnerability App & PoC
Readme
# CVE-2020-27223

## Using

```
$ mvn spring-boot:run
```

### 9.4.36.v20210114

```
$ ./poc/cve-2020-27223-poc1.sh
{"time_ns":"58,557","accept_language":"aab"}
real	0m0.093s 🐇
user	0m0.006s
sys	0m0.007s
{"time_ns":"18,461,763,438","accept_language":"ahn"}
real	0m35.339s 🐢
user	0m0.006s
sys	0m0.006s
```

### 9.4.37.v20210219 (Fixed)

```
$ ./poc/cve-2020-27223-poc1.sh
{"time_ns":"36,675","accept_language":"aab"}
real	0m0.023s 🐇
user	0m0.005s
sys	0m0.007s
{"time_ns":"1,265,004","accept_language":"ahn"}
real	0m0.024s 🐇
user	0m0.006s
sys	0m0.006s
```

## PoC

```
$ ./poc/cve-2020-27223-poc2.sh
curl: (28) Operation timed out after 120000 milliseconds with 0 bytes received

real	2m0.025s
user	0m0.016s
sys	0m0.009s
```

## References

- [DOS vulnerability for Quoted Quality CSV headers · Advisory · eclipse/jetty.project](https://github.com/eclipse/jetty.project/security/advisories/GHSA-m394-8rww-3jr7)
- [Merge pull request from GHSA-m394-8rww-3jr7 · eclipse/jetty.project@10e5317](https://github.com/eclipse/jetty.project/commit/10e531756b972162eed402c44d0244f7f6b85131)
File Snapshot

Log in to view the POC file snapshot cached by Shenlong Bot

Log in to view
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →