Problem/Motivation

While upgrading to Drupal core 9.4.9 we did notice the security vulnerability for dompdf version lower then 2.0.1

References:
- https://github.com/advisories/GHSA-6x28-7h8c-chx4
- https://github.com/dompdf/dompdf/issues/2994

Proposed resolution

Update the dompdf for entity_print with version 2.0.1

Note

Users who are using Entity Print with dompdf 1.x and with custom code that requires 1.x will need to update to 2.x.
here's dompdf's migration guide for that - https://github.com/dompdf/dompdf/wiki/Migration-Guide

Comments

vipin.j created an issue. See original summary.

vipin.j’s picture

Issue summary: View changes
vipin.j’s picture

Issue summary: View changes
vipin.j’s picture

Status: Active » Needs review
StatusFileSize
new935 bytes

In previous versions of Entity Print, we supported both dompdf 1.x and 2.x. However, the 1.x series is no longer being updated with security patches. 2.0 fixed a security bug that remains in 1.2.1, and 2.0.1 fixes another security bug which remains in 1.2.1. This patch updates our requirement to 2.0.1 and removes support for the 1.x branch.

vipin.j’s picture

The patch #4 needed an update.

larowlan’s picture

Status: Needs review » Reviewed & tested by the community

Thanks, we kept it relaxed because there were reports of breakage for some folks and we wanted to give them time to update custom code.

I think the time is right now, but I'll still do this as a new major.

  • VladimirAus committed aefa8bae on 8.x-2.x authored by vipin.j
    Issue #3326573 by vipin.j, larowlan, VladimirAus: Update minimum version...
vladimiraus’s picture

Priority: Normal » Major
Status: Reviewed & tested by the community » Fixed

Thank you

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.