[AutoPR- Security] Patch influxdb for CVE-2025-11065 [MEDIUM]#15721
[AutoPR- Security] Patch influxdb for CVE-2025-11065 [MEDIUM]#15721azurelinux-security wants to merge 2 commits intomicrosoft:3.0-devfrom
Conversation
Kanishk-Bansal
left a comment
There was a problem hiding this comment.
Patch Analysis
- Buddy Build
- patch applied during the build (check
rpm.log) - patch include an upstream reference
- PR has security tag
Patch has been backported.
For file, decode_hooks.go
Many APIs are not present in the codebase. Below are the missing APIs in our version. Also, attaching the .rej file for reference.(changed the fileformat to .patch as github doesnot support .rej file to upload).
StringToURLHookFunc(), StringToNetIPAddrHookFunc(), StringToNetIPAddrPortHookFunc(), StringToNetIPPrefixHookFunc(), StringToInt8HookFunc(), StringToUint8HookFunc(), StringToInt16HookFunc(), StringToUint16HookFunc(), StringToInt32HookFunc(), StringToUint32HookFunc() StringToInt64HookFunc(), StringToUint64HookFunc(), StringToIntHookFunc(), StringToUintHookFunc(), StringToFloat32HookFunc(), StringToFloat64HookFunc(), StringToBoolHookFunc(), StringToComplex64HookFunc() StringToComplex128HookFunc()
decode_hooks.go-rej.patch
There is no decode_hooks_test.go file in our codebase.
There is noerrors.go file in our codebase but there is error.go file. So, added new APIs into this file.
For file mapstructure.go
As newDecodeError is not defined in error.go file, upstream patch failed to apply. As per the fix, err is replaced with wrapStrconvNumError(err)
This patch updates error messages to prevent information leakage by wrapping original errors with more generic messages.
Auto Patch influxdb for CVE-2025-11065.
Autosec pipeline run -> https://dev.azure.com/mariner-org/mariner/_build/results?buildId=1042841&view=results
Merge Checklist
All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)
*-staticsubpackages, etc.) have had theirReleasetag incremented../cgmanifest.json,./toolkit/scripts/toolchain/cgmanifest.json,.github/workflows/cgmanifest.json)./LICENSES-AND-NOTICES/SPECS/data/licenses.json,./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md,./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON)*.signatures.jsonfilessudo make go-tidy-allandsudo make go-test-coveragepassSummary
What does the PR accomplish, why was it needed?
Change Log
Does this affect the toolchain?
YES/NO
Associated issues
Links to CVEs
Test Methodology