Ubuntu Patches Undertow CVE-2026-28367, Sentry and HTTParty
If you run Undertow behind a proxy or expose AJP, check all the ways requests can reach it, then schedule patching. For apps using Sentry Python SDK or HTTParty, check the dependencies actually loaded too.
1-minute summary
- Symptom / problem
- Undertow อาจตีความ HTTP ต่างจากพร็อกซี ส่วน Sentry SDK เสี่ยงข้อมูลลับรั่ว และ HTTParty เสี่ยง multipart injection กับ SSRF
- Who should read
- ผู้ใช้แพ็กเกจ libundertow-java, python3-sentry-sdk และ ruby-httparty ตาม Ubuntu release ในตาราง รวมแอปที่ติดตั้งไลบรารีเอง
- Fix in short
- เทียบรุ่นกับ USN เปิด ESM Apps ตามสิทธิ์ อัปเดต dependency ของแอป แล้วรีสตาร์ตบริการและทดสอบพฤติกรรมหลังแพตช์
I saw Ubuntu release notices for Undertow, Sentry SDK and HTTParty on 2 Dec. 2026, so I put them together for a single review. Each vulnerability affects different Ubuntu releases. System patches do not also fix libraries installed separately by the app.
| Notice group | Main issues | Ubuntu releases covered |
|---|---|---|
| USN-9404-1 Undertow | request smuggling and older vulnerabilities in AJP, WebSocket, logging | 16.04, 22.04, 24.04, 26.04 |
| USN-9399-1 Sentry Python SDK | cookies leaked to Sentry and environment leaked to subprocesses | 20.04, 22.04, 24.04 |
| USN-9396-1 HTTParty | multipart injection and SSRF | 16.04, 18.04, 20.04, 22.04 |
Undertow parses requests differently from the proxy
USN-9404-1 lists three request smuggling vulnerabilities. CVE-2026-28367 accepts a carriage return as the end of HTTP headers, CVE-2026-28368 parses header names differently from the proxy, and CVE-2026-28369 incorrectly strips leading whitespace from the first header line. All three affect 22.04/24.04/26.04 in this notice. When the proxy and Undertow parse requests differently, a smuggled request may pass the proxy's checks and reach the app.
Ubuntu rates CVE-2026-28367 8.7 High with vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N and assigns it an Ubuntu priority of Medium. This score matches the CNA, Red Hat, while NVD rates it 9.1 Critical with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N. The two assess attack complexity and scope differently. An attacker does not need an account. The risk depends on how the proxy and Undertow differ in parsing requests.
Four older vulnerabilities affect only 16.04 in this notice. CVE-2017-2666 may allow data to be injected into a response when the request line is parsed differently from the proxy, while CVE-2017-2670 causes excessive resource use when WebSocket connections are not closed properly. CVE-2019-3888 writes credentials to logs when requests fail, and CVE-2020-1745 allows web files to be read through AJP.
CVE-2020-1745 receives 8.6 High from Ubuntu with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L. An attacker can read files without logging in. If they can upload files containing JSP code, they may also use this vulnerability to execute code on the server. Check both the AJP connector and file uploads separately from the three request smuggling vulnerabilities above.
The 8.6 score matches the CNA's CVE Record, but NVD's comparison report dated 7 Nov. 2023 rates the impact on both integrity and availability as High, compared with Low in the CNA's vector.
Fixed Undertow versions: compare the full package version
The table uses versions from the USN. Ubuntu can backport patches to existing versions, so compare the full package version.
| Ubuntu LTS | Fixed libundertow-java package |
|---|---|
| 26.04 | 2.3.20-1ubuntu1+esm1 |
| 24.04 | 2.3.8-2ubuntu0.1~esm2 |
| 22.04 | 2.2.16-1ubuntu0.1~esm2 |
| 16.04 | 1.3.16-1ubuntu0.1~esm2 |
22.04/24.04/26.04 list ESM Apps through Ubuntu Pro. For 16.04, check Legacy add-on entitlement against the support lifecycle table.
The CVE-2026-28367 page still shows Vulnerable for releases that the USN lists as patched, while CVE-2020-1745 still shows Vulnerable on 16.04. Compare the versions in the USN with Installed, Candidate and the repository before considering the fixes complete.
The Ubuntu CVE-2026-28367 and CVE-2020-1745 pages are labeled CVSS v3.0 but display vectors beginning with CVSS:3.1. This article uses the vectors as displayed on those pages.
Sentry SDK: check both cookies and subprocesses
USN-9399-1 is a notice for the Python SDK. CVE-2023-28117 affects the Django integration on 20.04/22.04. All three conditions must apply: sending PII is enabled, a custom session or CSRF cookie name is used, and data scrubbing is not configured to filter that name. Someone with access to Sentry issues may be able to use the cookies to impersonate users.
CVE-2024-40647 is in the Stdlib integration, which passes the environment to subprocesses even when env={} is specified. Secrets may therefore be passed to child programs. This issue is separate from sending data to Sentry.
| Ubuntu LTS | Fixed python3-sentry-sdk package |
|---|---|
| 24.04 | 1.39.2-0.1ubuntu0.1~esm1 |
| 22.04 | 1.4.3-1ubuntu0.1~esm1 |
| 20.04 | 0.12.2-1ubuntu0.1~esm1 |
The patches in this table require ESM Apps. If installed through pip, check inside the app's virtualenv. The developers fixed the cookie issue in 1.14.0 and rated it 7.6 High with vector CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:N. The environment issue was fixed in 2.8.0 and backported to 1.45.1. Choose a version that fixes both issues.
Scores for the environment issue differ. The CVE Record gives it 5.3 Medium with vector CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:N/A:N, while the developers' advisory gives it 2.5 Low with vector CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:L/I:N/A:N. The difference is in the impact on data confidentiality.
If you cannot update yet, the developers recommend filtering cookies with before_send, before_send_transaction or data scrubbing. For the environment, use a nonempty dict containing only the values you intend to pass, such as env={"EMPTY_ENV":"1"}, then test the subprocess.
Patched HTTParty may reject URLs that previously worked
USN-9396-1 states that CVE-2024-22049 fails to escape filenames in multipart/form-data. An attacker who controls the filename may be able to inject data into the request. This issue affects 20.04/22.04 in this notice.
CVE-2025-68696 occurs when an app accepts an absolute URL as a path and HTTParty sends the request to the host in that URL instead of base_uri. If an attacker controls the path, they may be able to use it for SSRF or cause an API key to be sent to the wrong destination.
| Ubuntu LTS | Fixed ruby-httparty package |
|---|---|
| 22.04 | 0.18.1-3ubuntu0.1~esm1 |
| 20.04 | 0.17.0-1ubuntu0.1~esm1 |
| 18.04 | 0.15.6-1ubuntu0.1~esm1 |
| 16.04 | 0.13.5-1ubuntu0.1~esm1 |
18.04/20.04/22.04 list ESM Apps. For 16.04, check entitlement as with Undertow. If you use the gem, see the developers' advisory, which rates the SSRF issue as Moderate and fixes it in 0.24.0, then test multipart too.
Ubuntu states that the patch rejects URLs of this kind unless skip_uri_validation is set. If an integration stops working, check the source of the path and the allowed destinations first. Bypassing validation may restore the original conditions.
Update from the right source, then restart services
Check package versions and sources. Packages that are not installed may be reported as not found.
cat /etc/os-release
dpkg-query -W -f='${Package}\t${Version}\n' \
libundertow-java python3-sentry-sdk ruby-httparty
apt-cache policy libundertow-java python3-sentry-sdk ruby-httparty
pro status
- Inventory dependencies Separate system packages from the app's JARs, virtualenvs, Bundler dependencies and containers.
- Check entitlement Check whether ESM Apps is enabled and Candidate has reached the version in the USN.
- Test and update Check proxy/AJP, PII filtering and HTTParty URL requests before deployment.
- Restart and verify Have every service instance reload its libraries, then test actual workflows.
If the machine is attached to Pro and has the required entitlement, enable ESM Apps following the Ubuntu guide, then update the installed packages. This example uses Undertow. For the other two, use the package names from the tables.
sudo pro enable esm-apps
sudo apt update
sudo apt install --only-upgrade libundertow-java
dpkg-query -W -f='${Package}\t${Version}\n' libundertow-java
For pip or Bundler, check from the app's environment and project directory.
python -m pip show sentry-sdk
bundle exec ruby -rhttparty -e 'puts HTTParty::VERSION'
Update dependencies and lockfiles according to the app's deployment procedure. If the app includes Undertow in a JAR, update that too. Then restart the JVM, Python worker or Ruby process. The example uses a fictional service name; replace it with the correct one.
sudo systemctl restart example-app.service
systemctl is-active example-app.service
systemctl show example-app.service -p MainPID -p ActiveEnterTimestamp
An active status does not confirm the library version. Check what the runtime has loaded and test actual workloads too.
Check for anomalies and prioritize the work
The cited notices do not provide IP addresses or hashes for checking for intrusions. I recommend starting by comparing requests in proxy and backend logs, then checking access to AJP and uploaded files. For Sentry, check cookies in events and review who can access the data. For Ruby, check outbound HTTP destinations. These are starting points for investigation. More evidence is needed before concluding that an attack occurred.
All 11 CVEs in this article were still absent from the KEV edition dated 30 Nov. 2026, according to the CISA KEV JSON, so there are no KEV addition dates or deadlines to report for them. The cited notices do not report exploitation in the wild. Absence from KEV does not mean they are safe.
If you find leaked cookies or API keys, preserve evidence, restrict access, and revoke the affected sessions or rotate the relevant secrets. You can also read the Debian server inspection guide.
I would put Undertow deployments behind a proxy in the urgent queue if I had not yet checked whether both sides agree on request boundaries. AJP accessible to unauthorized parties should also be treated as urgent. If Sentry and HTTParty meet the conditions, prioritize them at the same time. For deployments confirmed not to meet these conditions, update during the next maintenance window.
Sources: Ubuntu USN-9404-1, CVE-2026-28367, CVE-2020-1745, USN-9399-1, USN-9396-1, CVE Program CVE-2024-40647, Sentry cookie advisory and environment advisory, HTTParty SSRF advisory, Ubuntu ESM and Pro Client guide, CISA KEV. Information current through 2 Dec. 2026, with KEV checked against the edition dated 30 Nov. 2026. I'll come back and update this later.
Want us to set this up?
Get help with server setup, configuration, migration, or troubleshooting. Save time for the work that matters.
Hit something like this? Stuck somewhere?
Come trade notes on the LinuxThai board



Comments 0
No comments yet — be the first