Composer Dependency Changed PR-5.2-dev Pending

User tests: Successful: Unsuccessful:

avatar richard67
richard67
1 Feb 2025

Pull Request for Issue # .

Summary of Changes

This pull request (PR) updates the indirect composer dependencies "symfony/http-client" and "symfony/process", both to version 6.4.15, in order to fix 2 security vulnerability advisories (one low and one high severity) from composer audit.

When this PR is applied there is one medium severity security vulnerability advisory from composer audit remaining which is not fixed by this PR. To fix that would require to update "web-auth/webauthn-lib" to version 4.9.0 (or newer), but this would break our webauthn system plugin.

"symfony/http-client" is updated from version 6.4.11.

It is used by the "web-token/jwt-library" direct dependency and as indirect developer dependency. Change log:

v6.4.12

v6.4.13

  • no significant changes

v6.4.14

v6.4.15

  • security (low) GHSA-9c3x-r3wp-mgxm [HttpClient] Resolve hostnames in NoPrivateNetworkHttpClient

"symfony/process" is updated from version 6.4.8.

It is used only as an indirect development dependency. Change log:

v6.4.12

v6.4.13

  • no significant changes

v6.4.14

v6.4.15

  • no significant changes

(There were no versions 6.4.9 to 6.4.11.)

Testing Instructions

This test requires a composer version 2.4 or newer and a git clone of this repository.

For the actual result, run composer install and then composer audit in a command shell window in the root folder of your git clone on the current 5.2-dev branch of this repository.

For the expected result, run composer install and then composer audit on a branch with this PR applied.

You can create such a branch in your git clone and then check out that branch with the following commands, assuming that you have a git clone of your fork of this repository, and upstream is the remote for this repository here:

git fetch upstream pull/44805/head:test-pr-44805
git checkout test-pr-44805

If you git clone is a clone of this repository here and not of your fork, replace the upstream by origin in the first command.

After that, run

composer install
composer audit

Actual result BEFORE applying this Pull Request

composer install succeeds, no errors or warning.

composer audit result:

Found 3 security vulnerability advisories affecting 3 packages:
+-------------------+----------------------------------------------------------------------------------+
| Package           | symfony/http-client                                                              |
| Severity          | low                                                                              |
| CVE               | CVE-2024-50342                                                                   |
| Title             | CVE-2024-50342: Internal address and port enumeration allowed by                 |
|                   | NoPrivateNetworkHttpClient                                                       |
| URL               | https://symfony.com/cve-2024-50342                                               |
| Affected versions | >=4.3.0,<4.4.0|>=4.4.0,<5.0.0|>=5.0.0,<5.1.0|>=5.1.0,<5.2.0|>=5.2.0,<5.3.0|>=5.3 |
|                   | .0,<5.4.0|>=5.4.0,<5.4.47|>=6.0.0,<6.1.0|>=6.1.0,<6.2.0|>=6.2.0,<6.3.0|>=6.3.0,< |
|                   | 6.4.0|>=6.4.0,<6.4.15|>=7.0.0,<7.1.0|>=7.1.0,<7.1.8                              |
| Reported at       | 2024-11-13T08:00:00+00:00                                                        |
+-------------------+----------------------------------------------------------------------------------+
+-------------------+----------------------------------------------------------------------------------+
| Package           | symfony/process                                                                  |
| Severity          | high                                                                             |
| CVE               | CVE-2024-51736                                                                   |
| Title             | CVE-2024-51736: Command execution hijack on Windows with Process class           |
| URL               | https://symfony.com/cve-2024-51736                                               |
| Affected versions | >=2.0.0,<3.0.0|>=3.0.0,<4.0.0|>=4.0.0,<5.0.0|>=5.0.0,<5.1.0|>=5.1.0,<5.2.0|>=5.2 |
|                   | .0,<5.3.0|>=5.3.0,<5.4.0|>=5.4.0,<5.4.46|>=6.0.0,<6.1.0|>=6.1.0,<6.2.0|>=6.2.0,< |
|                   | 6.3.0|>=6.3.0,<6.4.0|>=6.4.0,<6.4.14|>=7.0.0,<7.1.0|>=7.1.0,<7.1.7               |
| Reported at       | 2024-11-05T08:00:00+00:00                                                        |
+-------------------+----------------------------------------------------------------------------------+
+-------------------+----------------------------------------------------------------------------------+
| Package           | web-auth/webauthn-lib                                                            |
| Severity          | medium                                                                           |
| CVE               | CVE-2024-39912                                                                   |
| Title             | The FIDO2/Webauthn Support for PHP library allows enumeration of valid usernames  |
| URL               | https://github.com/advisories/GHSA-875x-g8p7-5w27                                |
| Affected versions | >=4.5.0,<4.9.0                                                                   |
| Reported at       | 2024-07-15T16:37:49+00:00                                                        |
+-------------------+----------------------------------------------------------------------------------+
Found 1 abandoned package:
+---------------------------+----------------------------------------------------------------------------------+
| Abandoned Package         | Suggested Replacement                                                            |
+---------------------------+----------------------------------------------------------------------------------+
| web-auth/metadata-service | web-auth/webauthn-lib                                                            |
+---------------------------+----------------------------------------------------------------------------------+

Expected result AFTER applying this Pull Request

composer install succeeds, no errors or warning.

composer audit result:

Found 1 security vulnerability advisory affecting 1 package:
+-------------------+----------------------------------------------------------------------------------+
| Package           | web-auth/webauthn-lib                                                            |
| Severity          | medium                                                                           |
| CVE               | CVE-2024-39912                                                                   |
| Title             | The FIDO2/Webauthn Support for PHP library allows enumeration of valid usernames  |
| URL               | https://github.com/advisories/GHSA-875x-g8p7-5w27                                |
| Affected versions | >=4.5.0,<4.9.0                                                                   |
| Reported at       | 2024-07-15T16:37:49+00:00                                                        |
+-------------------+----------------------------------------------------------------------------------+
Found 1 abandoned package:
+---------------------------+----------------------------------------------------------------------------------+
| Abandoned Package         | Suggested Replacement                                                            |
+---------------------------+----------------------------------------------------------------------------------+
| web-auth/metadata-service | web-auth/webauthn-lib                                                            |
+---------------------------+----------------------------------------------------------------------------------+

To fix the remaining advisory it would need to update "web-auth/webauthn-lib" to version 4.9.0 (or newer), which would also remove the abandoned "web-auth/metadata-service" package, but this would break our webauthn system plugin as that still uses the abandoned package.

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar richard67 richard67 - open - 1 Feb 2025
avatar richard67 richard67 - change - 1 Feb 2025
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 1 Feb 2025
Category External Library Composer Change
avatar richard67 richard67 - change - 1 Feb 2025
The description was changed
avatar richard67 richard67 - edited - 1 Feb 2025
avatar richard67 richard67 - change - 1 Feb 2025
The description was changed
avatar richard67 richard67 - edited - 1 Feb 2025
avatar richard67 richard67 - change - 1 Feb 2025
The description was changed
avatar richard67 richard67 - edited - 1 Feb 2025
avatar richard67 richard67 - change - 1 Feb 2025
The description was changed
avatar richard67 richard67 - edited - 1 Feb 2025
avatar richard67 richard67 - change - 1 Feb 2025
The description was changed
avatar richard67 richard67 - edited - 1 Feb 2025
avatar richard67 richard67 - change - 1 Feb 2025
The description was changed
avatar richard67 richard67 - edited - 1 Feb 2025
avatar richard67 richard67 - change - 1 Feb 2025
The description was changed
avatar richard67 richard67 - edited - 1 Feb 2025
avatar richard67 richard67 - change - 1 Feb 2025
The description was changed
avatar richard67 richard67 - edited - 1 Feb 2025
avatar richard67 richard67 - change - 1 Feb 2025
The description was changed
avatar richard67 richard67 - edited - 1 Feb 2025
avatar richard67 richard67 - change - 1 Feb 2025
The description was changed
avatar richard67 richard67 - edited - 1 Feb 2025
avatar SniperSister SniperSister - test_item - 1 Feb 2025 - Tested successfully
avatar SniperSister
SniperSister - comment - 1 Feb 2025

I have tested this item ✅ successfully on a893315


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/44805.

avatar richard67 richard67 - change - 2 Feb 2025
Title
[5.2] Composer update symfony/http-client and symfony/process to version 6.4.15
[5.2] [Security] Composer update symfony/http-client and symfony/process to version 6.4.15
avatar richard67 richard67 - edited - 2 Feb 2025
avatar richard67 richard67 - change - 2 Feb 2025
The description was changed
avatar richard67 richard67 - edited - 2 Feb 2025
avatar Hackwar Hackwar - change - 2 Feb 2025
Labels Added: Composer Dependency Changed PR-5.2-dev
avatar Hackwar
Hackwar - comment - 2 Feb 2025

Since this is a security update and "just" a dependency update without custom code and it has been tested by the head of JSST, I'm overruling the 2 tests criteria here and merge this as is. Thank you for this contribution.

avatar Hackwar Hackwar - change - 2 Feb 2025
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2025-02-02 22:23:37
Closed_By Hackwar
avatar Hackwar Hackwar - close - 2 Feb 2025
avatar Hackwar Hackwar - merge - 2 Feb 2025

Add a Comment

Login with GitHub to post a comment