Skip to content

Upgraded mod_security to version 2.9.7 #11802

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: 3.0-dev
Choose a base branch
from

Conversation

aninda-al
Copy link
Contributor

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

  • The toolchain has been rebuilt successfully (or no changes were made to it)
  • The toolchain/worker package manifests are up-to-date
  • Any updated packages successfully build (or no packages were changed)
  • Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
  • Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
  • All package sources are available
  • cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
  • LICENSE-MAP files are up-to-date (./LICENSES-AND-NOTICES/SPECS/data/licenses.json, ./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md, ./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON)
  • All source files have up-to-date hashes in the *.signatures.json files
  • sudo make go-tidy-all and sudo make go-test-coverage pass
  • Documentation has been updated to match any changes to the build system
  • Ready to merge

Summary

Upgrades mod_security to version 2.9.7

Build/Dependency Information

The PR is a leaf PR which builds alone successfully

Change Log
  • new file: SPECS-EXTENDED/mod_security/mod_security-2.9.7-send_error_bucket.patch
  • modified: SPECS-EXTENDED/mod_security/mod_security.signatures.json
  • modified: SPECS-EXTENDED/mod_security/mod_security.spec
  • modified: cgmanifest.json
Does this affect the toolchain?

NO

Associated issues
  • NA
Links to CVEs
  • NA
Test Methodology
  • local build

@aninda-al aninda-al requested review from a team as code owners January 7, 2025 01:09
@microsoft-github-policy-service microsoft-github-policy-service bot added Packaging specs-extended PR to fix SPECS-EXTENDED 3.0-dev PRs Destined for AzureLinux 3.0 labels Jan 7, 2025
Copy link
Contributor

@0xba1a 0xba1a left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Even the older patches are getting applying cleanly

time="2025-01-23T13:05:21Z" level=debug msg="+ cd modsecurity-2.9.7"
time="2025-01-23T13:05:21Z" level=debug msg="+ /bin/chmod -Rf a+rX,u+w,g-w,o-w ."
time="2025-01-23T13:05:21Z" level=debug msg="+ /usr/lib/rpm/rpmuncompress /usr/src/azl/SOURCES/modsecurity-2.9.3-lua-54.patch"
time="2025-01-23T13:05:21Z" level=debug msg="+ /bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f"
time="2025-01-23T13:05:21Z" level=debug msg="+ /usr/lib/rpm/rpmuncompress /usr/src/azl/SOURCES/modsecurity-2.9.3-apulibs.patch"
time="2025-01-23T13:05:21Z" level=debug msg="+ /bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f"
time="2025-01-23T13:05:21Z" level=debug msg="+ /usr/lib/rpm/rpmuncompress /usr/src/azl/SOURCES/mod_security-2.9.3-remote-rules-timeout.patch"
time="2025-01-23T13:05:21Z" level=debug msg="+ /bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f"
time="2025-01-23T13:05:21Z" level=debug msg="+ /usr/lib/rpm/rpmuncompress /usr/src/azl/SOURCES/mod_security-2.9.7-send_error_bucket.patch"
time="2025-01-23T13:05:21Z" level=debug msg="+ /bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f"
time="2025-01-23T13:05:21Z" level=debug msg="+ RPM_EC=0"

Copy link
Contributor

@kgodara912 kgodara912 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good for next stage: buddy build pipeline.

@aninda-al aninda-al force-pushed the upgrade-mod_security branch from 5e2dacf to 6798b94 Compare April 21, 2025 01:07
Copy link
Contributor

@kgodara912 kgodara912 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Buddy build. Package builds and installs fine. LGTM.

@aninda-al aninda-al force-pushed the upgrade-mod_security branch from 6798b94 to 823c8c5 Compare August 19, 2025 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.0-dev PRs Destined for AzureLinux 3.0 Packaging specs-extended PR to fix SPECS-EXTENDED
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants