37
Views
7
Comments
Solved
[Ultimate PDF] About System.Text.Encodings.Web security  concern
ultimate-pdf
Reactive icon
Forge asset by Leonardo Fernandes
Application Type
Reactive
Platform Version
11.13.1 (Build 31652)

Hi,

I'm using UltimatePDF for our application, it's very convinient,

and now I find this one contains System.Text.Encodings.Web.dll.


According to MITRE(CVE-2021-26701),

System.Text.Encodings.Web has a Remote Code Execution Vulnerabilityis,

so it must be upgraded to address the issue.


My questions are below:

  1. What is the version of System.Text.Encodings.Web, included in the latest version of UltimatePDF?
     *Result of our OSS check tool, the version was 4.0.4 for UltimatePDF5.0.3.
  2. If the version of System.Text.Encodings.Web is not secure version,
    do you think that the CVE-2021-26701 vulnerability has no effect on UltimatePDF?
  3. If the answer of Q2 is "No", do you have any plan for updating the version of System.Text.Encodings.Web?


Please help me to resolve this concern.


Best regards,

Kazuya Iijima

2019-07-08 11-04-35
Leonardo Fernandes
 
MVP
Solution

Kazuya, the latest version includes System.Text.Encodings.Web 6.0.0, which is not vulnerable.

2019-07-08 11-04-35
Leonardo Fernandes
 
MVP

Hi Kazuya, thanks for pointing that out.

I confirm we are using System.Text.Encodings.Web 4.4.0, which is vulnerable. This is a dependency of a dependency of PuppeteerSharp (which is a dependency of Ultimate PDF), so it's hard for me to say to what extent the vulnerability can be exploited from within Ultimate PDF.


From what I have checked, there are no incompatibilities if we start using System.Text.Encodings.Web 6.0.0, which is not vulnerable. I will update the dependency on the next release.

Thanks.

UserImage.jpg
Kazuya Iijima

Hi Leonard,

thank you for your quick answer.

I understand the situation.

(Sorry, I made a typing mistake, the version was 4.4.0, certainly)


And you kindly mentioned the next release, 

if possible, could you tell me about the release schedule?


Now I'm facing a critical user requirement and need a quick solution.

I hope to use this forge

because it is much more useful than others,

and helps me very much to solve the problem.


Best regards.

2019-07-08 11-04-35
Leonardo Fernandes
 
MVP

I will release a new version next week.

Meanwhile, if you want to mitigate the issue, just open the UltimatePDF_Service extension, install System.Text.Encodings.Web 6.0.0 via NuGet, publish the extension, and republish the module UltimatePDF_Service.

UserImage.jpg
Kazuya Iijima

Hi, Leonardo

Thank you for your kindness, 

I will also consider updating the DLL by myself.

2019-07-08 11-04-35
Leonardo Fernandes
 
MVP
Solution

Kazuya, the latest version includes System.Text.Encodings.Web 6.0.0, which is not vulnerable.

UserImage.jpg
Kazuya Iijima

Leonardo, thank you so much!

I'll try the new version 

UserImage.jpg
Kazuya Iijima

Leonardo,

I installed the new version, it's working fine,

and no vulnerabilities were detected.


Thanks again for your kindness!

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.