Skip to content

Patched HIGH CVE-2022-38725 for syslog-ng#6431

Merged
Redent0r merged 9 commits intofasttrack/2.0from
mbykhovtsev/syslog-patch
Nov 26, 2023
Merged

Patched HIGH CVE-2022-38725 for syslog-ng#6431
Redent0r merged 9 commits intofasttrack/2.0from
mbykhovtsev/syslog-patch

Conversation

@mbykhovtsev-ms
Copy link
Copy Markdown
Contributor

@mbykhovtsev-ms mbykhovtsev-ms commented Oct 13, 2023

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 (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/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

Patched high CVE-2022-38725 for syslog-ng. Patch found at syslog-ng/syslog-ng#4110

Change Log
  • Patched high CVE-2022-38725 for syslog-ng
Does this affect the toolchain?

NO

Links to CVEs
Test Methodology
  • Fast Track PR check

@mbykhovtsev-ms mbykhovtsev-ms requested a review from a team as a code owner October 13, 2023 20:28
@mbykhovtsev-ms mbykhovtsev-ms force-pushed the mbykhovtsev/syslog-patch branch from b4f7958 to 565a236 Compare October 13, 2023 20:31
@mbykhovtsev-ms mbykhovtsev-ms changed the title Patched HIGH CVE-2022-1941 for syslog-ng Patched HIGH CVE-2022-38725 for syslog-ng Oct 13, 2023
Comment thread SPECS/syslog-ng/syslog-ng.spec Outdated
@mbykhovtsev-ms
Copy link
Copy Markdown
Contributor Author

/AzurePipelines run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@PawelWMS
Copy link
Copy Markdown
Contributor

PawelWMS commented Nov 8, 2023

@mbykhovtsev-ms, just a heads-up: all PRs against fasttrack/2.0 should be rebased, since we finished a monthly update, which also updated fasttrack/2.0. Rebasing (or merging) the latest state of the branch will re-trigger the PR check and allow us to validate that the latest state of the repo still builds correctly with the changes from the PRs.

@Redent0r Redent0r force-pushed the mbykhovtsev/syslog-patch branch 2 times, most recently from a4d54fa to 92ee41d Compare November 22, 2023 00:14
@Redent0r Redent0r force-pushed the mbykhovtsev/syslog-patch branch from 92ee41d to 01fd252 Compare November 22, 2023 01:20
@Redent0r
Copy link
Copy Markdown
Contributor

Redent0r commented Nov 22, 2023

Wondering if I can do bbeb322?

Here's what happened:

Passing fasttrack build without make check: https://dev.azure.com/mariner-org/mariner/_build/results?buildId=456990&view=results

@Redent0r Redent0r requested review from a team and PawelWMS November 22, 2023 20:00
@PawelWMS
Copy link
Copy Markdown
Contributor

PawelWMS commented Nov 23, 2023

Wondering if I can do bbeb322?

Here's what happened:

Passing fasttrack build without make check: https://dev.azure.com/mariner-org/mariner/_build/results?buildId=456990&view=results

I took a look at the configure file in the sources and found this:

 if test "$enable_tests" != "no"; then
  ENABLE_TESTING_TRUE=
  ENABLE_TESTING_FALSE='#'
else
  ENABLE_TESTING_TRUE='#'
  ENABLE_TESTING_FALSE=
fi

It seems, that enable_tests must be set to something else than no but on a different line it looks like this variable depends on with_criterion:

if test "$with_criterion" != "no"; then
   enable_tests=yes
else
  enable_tests=no
fi

I believe this is the Criterion project these lines are about. After a brief search I wasn't able to find a Fedora package building this project, so maybe that's why it's not enabled for them. Since we don't have it as well, we'd need to investigate further what it would take to light it up. For instance, it seems that Red Hat might have something.

With all of that considered, I think it is fine to move enabling tests for this package to a later date. However, let's keep the %check section, but add a somment above it summarizing the findings from this PR and also maybe add a link to this PR as well. In addition to that, please also create a P1 bug (with a similar summary and link) against Jon saying that syslog-ng tests are broken.

Copy link
Copy Markdown
Member

@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.

As Pawel mentioned, please create P1 bug and provide the link in this PR for reference

@Redent0r
Copy link
Copy Markdown
Contributor

Created P1 bug and linked back to this PR. Also added back the make check to the %check section and commented it out with a todo comment also linking to this PR. Thanks!

@Redent0r Redent0r merged commit 6012b9a into fasttrack/2.0 Nov 26, 2023
@Redent0r Redent0r deleted the mbykhovtsev/syslog-patch branch November 26, 2023 10:46
CBL-Mariner-Bot pushed a commit that referenced this pull request Nov 26, 2023
Co-authored-by: Saul Paredes <saulparedes@microsoft.com>
(cherry picked from commit 6012b9a)
@CBL-Mariner-Bot
Copy link
Copy Markdown
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants