Skip to content

Commit dd4e595

Browse files
Merging to release-5.10: [TT-16142] fix CVEs for v5.10.1 (#7543) (#7547)
### **User description** [TT-16142] fix CVEs for v5.10.1 (#7543) <!-- Provide a general summary of your changes in the Title above --> ## Description <!-- Describe your changes in detail --> ## Related Issue <!-- This project only accepts pull requests related to open issues. --> <!-- If suggesting a new feature or change, please discuss it in an issue first. --> <!-- If fixing a bug, there should be an issue describing it with steps to reproduce. --> <!-- OSS: Please link to the issue here. Tyk: please create/link the JIRA ticket. --> ## Motivation and Context <!-- Why is this change required? What problem does it solve? --> ## How This Has Been Tested <!-- Please describe in detail how you tested your changes --> <!-- Include details of your testing environment, and the tests --> <!-- you ran to see how your change affects other areas of the code, etc. --> <!-- This information is helpful for reviewers and QA. --> ## Screenshots (if appropriate) ## Types of changes <!-- What types of changes does your code introduce? Put an `x` in all the boxes that apply: --> - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] Refactoring or add test (improvements in base code or adds test coverage to functionality) ## Checklist <!-- Go over all the following points, and put an `x` in all the boxes that apply --> <!-- If there are no documentation updates required, mark the item as checked. --> <!-- Raise up any additional concerns not covered by the checklist. --> - [ ] I ensured that the documentation is up to date - [ ] I explained why this PR updates go.mod in detail with reasoning why it's required - [ ] I would like a code coverage CI quality gate exception and have explained why <!---TykTechnologies/jira-linter starts here--> ### Ticket Details <details> <summary> <a href="https://tyktech.atlassian.net/browse/TT-16142" title="TT-16142" target="_blank">TT-16142</a> </summary> | | | |---------|----| | Status | Open | | Summary | High CVE's on 5.10.1 release | Generated at: 2025-11-18 09:19:48 </details> <!---TykTechnologies/jira-linter ends here--> [TT-16142]: https://tyktech.atlassian.net/browse/TT-16142?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ ___ ### **PR Type** Enhancement, Bug fix ___ ### **Description** - Bump `runc` to v1.3.3 to address CVEs - Upgrade `jose2go` to v1.8.0 security release - Update `protobuf` to v1.36.5 patch - Refresh go.sum to match new versions ___ ### Diagram Walkthrough ```mermaid flowchart LR deps["Dependency versions"] runc["opencontainers/runc v1.1.14 -> v1.3.3"] jose["dvsekhvalnov/jose2go v1.6.0 -> v1.8.0"] proto["google.golang.org/protobuf v1.36.4 -> v1.36.5"] sum["go.sum updated"] deps -- "upgrade" --> runc deps -- "upgrade" --> jose deps -- "upgrade" --> proto runc -- "reflect in" --> sum jose -- "reflect in" --> sum proto -- "reflect in" --> sum ``` <details> <summary><h3> File Walkthrough</h3></summary> <table><thead><tr><th></th><th align="left">Relevant files</th></tr></thead><tbody><tr><td><strong>Dependencies</strong></td><td><table> <tr> <td> <details> <summary><strong>go.mod</strong><dd><code>Bump security-sensitive dependencies in go.mod</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary> <hr> go.mod <ul><li>Upgrade <code>google.golang.org/protobuf</code> to v1.36.5.<br> <li> Bump <code>github.com/dvsekhvalnov/jose2go</code> to v1.8.0 (indirect).<br> <li> Bump <code>github.com/opencontainers/runc</code> to v1.3.3 (indirect).</ul> </details> </td> <td><a href="https://github.com/TykTechnologies/tyk/pull/7547/files#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6">+3/-3</a>&nbsp; &nbsp; &nbsp; </td> </tr> <tr> <td> <details> <summary><strong>go.sum</strong><dd><code>Refresh go.sum for upgraded dependencies</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary> <hr> go.sum <ul><li>Update checksums for <code>jose2go</code> v1.8.0.<br> <li> Update checksums for <code>runc</code> v1.3.3.<br> <li> Update checksums for <code>protobuf</code> v1.36.5.</ul> </details> </td> <td><a href="https://github.com/TykTechnologies/tyk/pull/7547/files#diff-3295df7234525439d778f1b282d146a4f1ff6b415248aaac074e8042d9f42d63">+6/-6</a>&nbsp; &nbsp; &nbsp; </td> </tr> </table></td></tr></tr></tbody></table> </details> ___ Co-authored-by: andrei-tyk <97896463+andrei-tyk@users.noreply.github.com>
1 parent b84c70a commit dd4e595

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ require (
7979
golang.org/x/sync v0.14.0
8080
google.golang.org/grpc v1.70.0
8181
google.golang.org/grpc/examples v0.0.0-20220317213542-f95b001a48df // test
82-
google.golang.org/protobuf v1.36.4
82+
google.golang.org/protobuf v1.36.5
8383
gopkg.in/vmihailenco/msgpack.v2 v2.9.2
8484
gopkg.in/xmlpath.v2 v2.0.0-20150820204837-860cbeca3ebc
8585
gopkg.in/yaml.v3 v3.0.1
@@ -280,7 +280,7 @@ require (
280280
github.com/dop251/goja v0.0.0-20241024094426-79f3a7efcdbd // indirect
281281
github.com/dop251/goja_nodejs v0.0.0-20240728170619-29b559befffc // indirect
282282
github.com/dustin/go-humanize v1.0.1 // indirect
283-
github.com/dvsekhvalnov/jose2go v1.6.0 // indirect
283+
github.com/dvsekhvalnov/jose2go v1.8.0 // indirect
284284
github.com/eapache/go-resiliency v1.7.0 // indirect
285285
github.com/eapache/go-xerial-snappy v0.0.0-20230731223053-c322873962e3 // indirect
286286
github.com/eapache/queue v1.1.0 // indirect
@@ -435,7 +435,7 @@ require (
435435
github.com/olivere/elastic/v7 v7.0.32 // indirect
436436
github.com/opencontainers/go-digest v1.0.0 // indirect
437437
github.com/opencontainers/image-spec v1.1.1 // indirect
438-
github.com/opencontainers/runc v1.1.14 // indirect
438+
github.com/opencontainers/runc v1.3.3 // indirect
439439
github.com/opensearch-project/opensearch-go/v4 v4.3.0 // indirect
440440
github.com/orcaman/concurrent-map/v2 v2.0.1 // indirect
441441
github.com/ory/dockertest/v3 v3.10.0 // indirect

go.sum

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1180,8 +1180,8 @@ github.com/dop251/goja_nodejs v0.0.0-20240728170619-29b559befffc/go.mod h1:VULpt
11801180
github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk=
11811181
github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY=
11821182
github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto=
1183-
github.com/dvsekhvalnov/jose2go v1.6.0 h1:Y9gnSnP4qEI0+/uQkHvFXeD2PLPJeXEL+ySMEA2EjTY=
1184-
github.com/dvsekhvalnov/jose2go v1.6.0/go.mod h1:QsHjhyTlD/lAVqn/NSbVZmSCGeDehTB/mPZadG+mhXU=
1183+
github.com/dvsekhvalnov/jose2go v1.8.0 h1:LqkkVKAlHFfH9LOEl5fe4p/zL02OhWE7pCufMBG2jLA=
1184+
github.com/dvsekhvalnov/jose2go v1.8.0/go.mod h1:QsHjhyTlD/lAVqn/NSbVZmSCGeDehTB/mPZadG+mhXU=
11851185
github.com/eapache/go-resiliency v1.7.0 h1:n3NRTnBn5N0Cbi/IeOHuQn9s2UwVUH7Ga0ZWcP+9JTA=
11861186
github.com/eapache/go-resiliency v1.7.0/go.mod h1:5yPzW0MIvSe0JDsv0v+DvcjEv2FyD6iZYSs1ZI+iQho=
11871187
github.com/eapache/go-xerial-snappy v0.0.0-20230731223053-c322873962e3 h1:Oy0F4ALJ04o5Qqpdz8XLIpNA3WM/iSIXqxtqo7UGVws=
@@ -2035,8 +2035,8 @@ github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8
20352035
github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM=
20362036
github.com/opencontainers/image-spec v1.1.1 h1:y0fUlFfIZhPF1W537XOLg0/fcx6zcHCJwooC2xJA040=
20372037
github.com/opencontainers/image-spec v1.1.1/go.mod h1:qpqAh3Dmcf36wStyyWU+kCeDgrGnAve2nCC8+7h8Q0M=
2038-
github.com/opencontainers/runc v1.1.14 h1:rgSuzbmgz5DUJjeSnw337TxDbRuqjs6iqQck/2weR6w=
2039-
github.com/opencontainers/runc v1.1.14/go.mod h1:E4C2z+7BxR7GHXp0hAY53mek+x49X1LjPNeMTfRGvOA=
2038+
github.com/opencontainers/runc v1.3.3 h1:qlmBbbhu+yY0QM7jqfuat7M1H3/iXjju3VkP9lkFQr4=
2039+
github.com/opencontainers/runc v1.3.3/go.mod h1:D7rL72gfWxVs9cJ2/AayxB0Hlvn9g0gaF1R7uunumSI=
20402040
github.com/opensearch-project/opensearch-go/v4 v4.3.0 h1:gmQ+ILFJW6AJimivf+lHGVqCS2SCr/PBBf2Qr1xOCgE=
20412041
github.com/opensearch-project/opensearch-go/v4 v4.3.0/go.mod h1:+w6KAvEX3S0fVVmZciNLN0CkXhxxem26+F6Y7DoPp04=
20422042
github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o=
@@ -3272,8 +3272,8 @@ google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqw
32723272
google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
32733273
google.golang.org/protobuf v1.29.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
32743274
google.golang.org/protobuf v1.30.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
3275-
google.golang.org/protobuf v1.36.4 h1:6A3ZDJHn/eNqc1i+IdefRzy/9PokBTPvcqMySR7NNIM=
3276-
google.golang.org/protobuf v1.36.4/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE=
3275+
google.golang.org/protobuf v1.36.5 h1:tPhr+woSbjfYvY6/GPufUoYizxw1cF/yFoxJ2fmpwlM=
3276+
google.golang.org/protobuf v1.36.5/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE=
32773277
gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw=
32783278
gopkg.in/cenkalti/backoff.v1 v1.1.0 h1:Arh75ttbsvlpVA7WtVpH4u9h6Zl46xuptxqLxPiSo4Y=
32793279
gopkg.in/cenkalti/backoff.v1 v1.1.0/go.mod h1:J6Vskwqd+OMVJl8C33mmtxTBs2gyzfv7UDAkHu8BrjI=

0 commit comments

Comments
 (0)