# \[CVE-2022-44572\] Possible Denial of Service Vulnerability in Rack's RFC2183 boundary parsing

**URL:** <https://discuss.rubyonrails.org/t/cve-2022-44572-possible-denial-of-service-vulnerability-in-racks-rfc2183-boundary-parsing/82124>\
**Category:** Security Announcements\
**Tags:** patch, security, rack\
**Created:** [January 17, 2023, 9:12pm UTC](https://discuss.rubyonrails.org/t/cve-2022-44572-possible-denial-of-service-vulnerability-in-racks-rfc2183-boundary-parsing/82124 "2023-01-17T21:12:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tenderlove](https://sea2.discourse-cdn.com/rubyonrails/user_avatar/discuss.rubyonrails.org/tenderlove/32/3541_2.png) [@tenderlove](https://discuss.rubyonrails.org/u/tenderlove)\
**Post date:** [January 17, 2023, 9:12pm UTC](https://discuss.rubyonrails.org/t/cve-2022-44572-possible-denial-of-service-vulnerability-in-racks-rfc2183-boundary-parsing/82124/1 "2023-01-17T21:12:50Z")

</div>

There is a denial of service vulnerability in the multipart parsing component of Rack. This vulnerability has been assigned the CVE identifier CVE-2022-44572.

Versions Affected: \>= 2.0.0 Not affected: None. Fixed Versions: 2.0.9.2, 2.1.4.2, 2.2.6.1, 3.0.4.1

## Impact

Carefully crafted input can cause RFC2183 multipart boundary parsing in Rack to take an unexpected amount of time, possibly resulting in a denial of service attack vector. Any applications that parse multipart posts using Rack (virtually all Rails applications) are impacted.

## Releases

The fixed releases are available at the normal locations.

## Workarounds

There are no feasible workarounds for this issue.

## Patches

To aid users who aren’t able to upgrade immediately we have provided patches for the two supported release series. They are in git-am format and consist of a single changeset.

- 2-0-Forbid-control-characters-in-attributes.patch - Patch for 2.0 series
- 2-1-Forbid-control-characters-in-attributes.patch - Patch for 2.1 series
- 2-2-Forbid-control-characters-in-attributes.patch - Patch for 2.2 series
- 3-0-Forbid-control-characters-in-attributes.patch - Patch for 3.0 series

## Credits

Thank you [ooooooo\_q](https://hackerone.com/ooooooo_q) for reporting this!

[2-0-Forbid-control-characters-in-attributes.patch](https://discuss.rubyonrails.org/uploads/short-url/u9dMWpyzrgAV2QAfo202pm8A0mo.patch) (1.6 KB) [2-1-Forbid-control-characters-in-attributes.patch](https://discuss.rubyonrails.org/uploads/short-url/ebpNQ4F9bBK0M7v5LlE0fb9wXvL.patch) (1.6 KB) [2-2-Forbid-control-characters-in-attributes.patch](https://discuss.rubyonrails.org/uploads/short-url/i08JzlrUa4hkby2yNTQ4HkPBlZ2.patch) (1.6 KB) [3-0-Forbid-control-characters-in-attributes.patch](https://discuss.rubyonrails.org/uploads/short-url/eIWaXU4tMgitLheccFaQjdt6VEP.patch) (1.7 KB)
