Xcodeproj icon indicating copy to clipboard operation
Xcodeproj copied to clipboard

Update REXML to fix DoS Vulnerability (CVE-2024-35176)

Open fchiusolo opened this issue 1 year ago • 12 comments

Hi team,

There's a DoS vulnerability in rexml before version 3.2.7. It affects xcodeproj through fastlane. Can you update rexml to version 3.2.7 or later?

More details: ruby-lang.org.

Thanks!

fchiusolo avatar Jul 05 '24 12:07 fchiusolo

It's worse now. New CVE: https://www.ruby-lang.org/en/news/2024/07/16/dos-rexml-cve-2024-39908/

This needs to be resolved.

bmedenwald avatar Jul 16 '24 17:07 bmedenwald

Added PR: https://github.com/CocoaPods/Xcodeproj/pull/948

bmedenwald avatar Jul 16 '24 19:07 bmedenwald

Urgently needs releasing to address the vulnerability.

iosdevben avatar Jul 22 '24 21:07 iosdevben

When can we expect a release with this change?

samfranz avatar Jul 23 '24 01:07 samfranz

The PR was already merged, any idea when should we expect to have a new release?

elkinjosetm avatar Jul 23 '24 20:07 elkinjosetm

Seconding the request for a release at the earliest convenience– my enterprise team is running into security warnings related to this rexml dependency, so it would be hugely helpful to have a new version released with the recently updated constraint. Thanks to the maintainers for the prompt handling of the relevant PR!

sphanley avatar Jul 24 '24 15:07 sphanley

Thirding the request, or at least a request for a timeline, for the same reasons.

Aaron-Empower avatar Jul 26 '24 16:07 Aaron-Empower

Please release a numbered version with the merged dependency update. The latest version of this library, 1.24.0, is still vulnerable.

kconner avatar Jul 30 '24 15:07 kconner

Please release a numbered version with the merged dependency update.

konrad-gibaszewski avatar Aug 01 '24 11:08 konrad-gibaszewski

For anybody still struggling with this, you can point your Gemfile to this git repository directly to retrieve the latest version from master.

This worked fine in my case:

source 'https://rubygems.org'

ruby '>= 2.6.10'

gem 'cocoapods', '>= 1.15.2'
gem 'xcodeproj', '~> 1.24', git: 'https://github.com/CocoaPods/Xcodeproj.git'
gem "rexml", "~> 3.3.2"

Once a new version is release, just remove the git: part and update the version identifier next to xcodeproj.

0rax avatar Aug 01 '24 14:08 0rax

Unfortunately, many of us are exposed to this vulnerability through Fastlane's use of xcodeproj as a dependency.

Looking forward to the next numbered release with bated breath!

Aaron-Empower avatar Aug 01 '24 16:08 Aaron-Empower

@amorde Hola Eric! Is there a chance we could get new release out asap?

Kaspik avatar Aug 02 '24 07:08 Kaspik

The fix for this was released in 1.25.0.

amorde avatar Aug 13 '24 00:08 amorde