Skip to content

Commit

Permalink
docs: more explanations about the security job (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
COil authored Jan 31, 2025
1 parent f18852c commit 2a474de
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,28 @@ To do so you can cherry-pick the patch that was applied to the main branch to fi
the security issue.
All security related patches commits are prefixed by `security:`.

Thank you for helping us keep your open-source project secure!
Thank you for helping us keep your open-source project secure!


## Checking Vulnerabilities (GitHub actions)

A GitHub action runs the `composer audit` command.
When the job finds a security vulnerability, it fails with an output like this:

Run composer audit
Found 1 security vulnerability advisory affecting 1 package:
+-------------------+----------------------------------------------------------------------------------+
| Package | twig/twig |
| Severity | medium |
| CVE | CVE-2025-24374 |
| Title | Twig security issue where escaping was missing when using null coalesce operator |
| URL | https://github.com/advisories/GHSA-3xg3-cgvq-2xwr |
| Affected versions | >=3.16.0,<3.19.0 |
| Reported at | 2025-01-29T18:41:43+00:00 |
+-------------------+----------------------------------------------------------------------------------+
Error: Process completed with exit code 1

In this case, the `twig/twig` dependency has to be updated to fix the error.
You have to run:

composer up twig/twig

0 comments on commit 2a474de

Please sign in to comment.