Back to all use cases
Apache StrutsFederal / government

Nine bulletins, no 2.5 fix

A federal application still runs Apache Struts 2.5, which ended in April 2024 with 2.5.33 as its last release. Nine later bulletins list 2.5.x as affected with fixes only in Struts 6 or 7, and the authorization package needs an answer for each.

Challenge

The Struts project announced the end of 2.5.x on 30 October 2023 with six months' notice, and 2.5.33 was the last release. Since then nine bulletins between S2-067 and S2-078 list Struts 2.5.0 through 2.5.33 as affected, and every one is fixed only in Struts 6 or 7. The first, S2-067 (CVE-2024-53677), is a Critical file upload flaw, fixed from 6.4.0.

The fix is not a version bump. S2-067 recommends moving to the new Action File Upload mechanism, and it is not backward compatible, because actions have to be rewritten to use the new interceptor. Struts 7 needs Java 17 and Jakarta EE, and the project says moving from 2.5 to 6.x is smoother than going straight to 7.

An assessor reads the version. A scanner reports 2.5.33 against every bulletin whose affected range includes it, and the bulletins say which ones need a specific plugin or setting to be reachable, and NIST SP 800-53 control SI-2 covers flaw remediation, so each open finding needs a patch or a written exception in the package.

Environment

A federal application built on Struts 2.5 actions and tag libraries, running in a javax servlet container on a Java version older than 17. Some deployments use the JSON or REST plugin, and some accept file uploads, which decides which bulletins are reachable.

The application sits inside an authorization boundary with a package that has to be kept current, and a rewrite to Struts 6 is planned but not funded to finish before the next assessment.

Options

Rewrite to Struts 6.x. It is the smoother move from 2.5, and it includes the upload rewrite that S2-067 asks for.

Rewrite to Struts 7. It needs Java 17 and Jakarta EE, and it moves the servlet container with it.

Apply the workarounds in the bulletins. S2-075 affects only the legacy RESTful action mapper, so moving to the default mapper, restful2 or the REST plugin removes it, and S2-067 does not reach applications that never use FileUploadInterceptor. These reduce exposure and are not fixes.

Run a patched 2.5 build with documentation while the 6.x rewrite is planned and funded.

Approach

OSSeva Patch backports the bulletin fixes onto 2.5.33, so the application keeps its 2.5 file upload and action code until the rewrite is scheduled. Builds are signed with GPG and Sigstore, Critical CVEs (CVSS 9.0 or higher) are patched within 48 hours and High within 7 days, and each build carries an SBOM, VEX statements and a CVE record.

OSSeva Assure adds a reachability review, which sorts the bulletins by which plugins and settings the application actually uses, and a Struts 2.5 to 6.x upgrade path assessment. It also supplies FedRAMP-aligned documentation aligned to NIST 800-53 controls, with the patch records and remediation narratives, for the agency's authorization package. OSSeva makes no authorization claim. The authorization decision stays with the agency and its assessor.

The 6.x rewrite is planned as its own project, with the patched 2.5 build covering the application until it ships.

What this delivers

The engagement delivers a Struts 2.5 application with fixes for the bulletins the project left open, documentation aligned to NIST 800-53 for the authorization package, and an upgrade plan for the Struts 6 rewrite. OSSeva Struts support is priced per application. Book a discovery call for a quote.

Go deeper

Questions

Frequently asked questions

Book a 15-minute call

Is Apache Struts 2.5 end of life?

Yes, since April 2024. The branch gets no security patches, and 2.5.33 is the last release.

Is Struts 2.5.33 vulnerable to CVE-2023-50164?

No. The S2-066 file upload fix shipped in 2.5.33 itself, so a report of CVE-2023-50164 on 2.5.33 is a false positive based on the branch.

Is there a 2.5 fix for CVE-2024-53677?

No project release fixes it on 2.5. The upstream fix is 6.4.0 or later with the new upload mechanism, and an application that never uses FileUploadInterceptor is not affected.

Does OSSeva provide FedRAMP authorization?

No. OSSeva supplies patched builds and FedRAMP-aligned documentation aligned to NIST 800-53 controls, which the agency can use in its package. Authorization is decided by the agency and its assessor.

See every EOL & CVE-patching use case

All use cases
Book a call