You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "eugene-cheverda (via GitHub)" <gi...@apache.org> on 2023/05/04 18:04:50 UTC
[GitHub] [pulsar] eugene-cheverda opened a new pull request, #20223: [improve][security] Update dependencies to use snakeyaml 2.0 against 3.0
eugene-cheverda opened a new pull request, #20223:
URL: https://github.com/apache/pulsar/pull/20223
<!--
### Contribution Checklist
- PR title format should be *[type][component] summary*. For details, see *[Guideline - Pulsar PR Naming Convention](https://pulsar.apache.org/contribute/develop-semantic-title/)*.
- Fill out the template below to describe the changes contributed by the pull request. That will give reviewers the context they need to do the review.
- Each pull request should address only one issue, not mix up code from multiple issues.
- Each commit in the pull request has a meaningful commit message
- Once all items of the checklist are addressed, remove the above text and this checklist, leaving only the filled out template below.
-->
<!-- Either this PR fixes an issue, -->
<!-- or this PR is one task of an issue -->
<!-- If the PR belongs to a PIP, please add the PIP link here -->
<!-- Details of when a PIP is required and how the PIP process work, please see: https://github.com/apache/pulsar/blob/master/wiki/proposals/PIP.md -->
### Motivation
<!-- Explain here the context, and why you're making that change. What is the problem you're trying to solve. -->
Fixes https://avd.aquasec.com/nvd/cve-2022-1471 caused by snakeyaml by updating all dependencies bringing it into the project
### Modifications
<!-- Describe the modifications you've done. -->
Updated jackson, snakeyaml and prometheus dependencies, updated code to use non-deprecated EnumResolver functions
### Verifying this change
- [ ] Make sure that the change passes the CI checks.
This change is already covered by existing tests, such as FieldParserTest.
### Does this pull request potentially affect one of the following parts:
<!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. -->
*If the box was checked, please highlight the changes*
- [x] Dependencies (add or upgrade a dependency)
- [ ] The public API
- [ ] The schema
- [ ] The default values of configurations
- [ ] The threading model
- [ ] The binary protocol
- [ ] The REST endpoints
- [ ] The admin CLI options
- [ ] The metrics
- [ ] Anything that affects deployment
### Documentation
<!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. -->
- [ ] `doc` <!-- Your PR contains doc changes. -->
- [ ] `doc-required` <!-- Your PR changes impact docs and you will update later -->
- [x] `doc-not-needed` <!-- Your PR changes do not impact docs -->
- [ ] `doc-complete` <!-- Docs have been already added -->
### Matching PR in forked repository
PR in forked repository: n/a
<!--
After opening this PR, the build in apache/pulsar will fail and instructions will
be provided for opening a PR in the PR author's forked repository.
apache/pulsar pull requests should be first tested in your own fork since the
apache/pulsar CI based on GitHub Actions has constrained resources and quota.
GitHub Actions provides separate quota for pull requests that are executed in
a forked repository.
The tests will be run in the forked repository until all PR review comments have
been handled, the tests pass and the PR is approved by a reviewer.
-->
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] tisonkun commented on pull request #20223: [fix][sec] Update dependencies to use snakeyaml 2.0 against 3.0
Posted by "tisonkun (via GitHub)" <gi...@apache.org>.
tisonkun commented on PR #20223:
URL: https://github.com/apache/pulsar/pull/20223#issuecomment-1654129048
> Covered by https://github.com/apache/pulsar/pull/20085.
No. They are different issue.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] mattisonchao commented on pull request #20223: [fix][sec] Update dependencies to use snakeyaml 2.0 against 3.0
Posted by "mattisonchao (via GitHub)" <gi...@apache.org>.
mattisonchao commented on PR #20223:
URL: https://github.com/apache/pulsar/pull/20223#issuecomment-1535684592
@codelipenghui @Technoboy- @lhotari @michaeljmarshall @tisonkun would you mind taking a look?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [fix][sec] Update dependencies to use snakeyaml 2.0 against 3.0 [pulsar]
Posted by "merlimat (via GitHub)" <gi...@apache.org>.
merlimat commented on PR #20223:
URL: https://github.com/apache/pulsar/pull/20223#issuecomment-6179035880
Thanks for this contribution. `branch-3.0` already uses SnakeYAML 2.0, so this change is no longer needed. This is part of the open-PR cleanup discussed on dev@pulsar.apache.org.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] eugene-cheverda commented on pull request #20223: [fix][sec] Update dependencies to use snakeyaml 2.0 against 3.0
Posted by "eugene-cheverda (via GitHub)" <gi...@apache.org>.
eugene-cheverda commented on PR #20223:
URL: https://github.com/apache/pulsar/pull/20223#issuecomment-1545932134
Hi @dave2wave
In my PR on master https://github.com/eugene-cheverda/pulsar/pull/1 I had successful runs of CI with this change, also the discussion on update to jackson 2.15.0 is held there.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] dave2wave commented on pull request #20223: [fix][sec] Update dependencies to use snakeyaml 2.0 against 3.0
Posted by "dave2wave (via GitHub)" <gi...@apache.org>.
dave2wave commented on PR #20223:
URL: https://github.com/apache/pulsar/pull/20223#issuecomment-1545924465
I don't know if we would have the same concern in Pulsar, but jclouds attempted this upgrade and had to revert it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] github-actions[bot] commented on pull request #20223: [fix][sec] Update dependencies to use snakeyaml 2.0 against 3.0
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #20223:
URL: https://github.com/apache/pulsar/pull/20223#issuecomment-1586466405
The pr had no activity for 30 days, mark with Stale label.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [fix][sec] Update dependencies to use snakeyaml 2.0 against 3.0 [pulsar]
Posted by "merlimat (via GitHub)" <gi...@apache.org>.
merlimat closed pull request #20223: [fix][sec] Update dependencies to use snakeyaml 2.0 against 3.0
URL: https://github.com/apache/pulsar/pull/20223
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] tisonkun closed pull request #20223: [fix][sec] Update dependencies to use snakeyaml 2.0 against 3.0
Posted by "tisonkun (via GitHub)" <gi...@apache.org>.
tisonkun closed pull request #20223: [fix][sec] Update dependencies to use snakeyaml 2.0 against 3.0
URL: https://github.com/apache/pulsar/pull/20223
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [fix][sec] Update dependencies to use snakeyaml 2.0 against 3.0 [pulsar]
Posted by "lhotari (via GitHub)" <gi...@apache.org>.
lhotari commented on PR #20223:
URL: https://github.com/apache/pulsar/pull/20223#issuecomment-2508004831
@eugene-cheverda does this PR still apply?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] github-actions[bot] commented on pull request #20223: [fix][sec] Update dependencies to use snakeyaml 2.0 against 3.0
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #20223:
URL: https://github.com/apache/pulsar/pull/20223#issuecomment-1694876044
The pr had no activity for 30 days, mark with Stale label.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] tisonkun commented on pull request #20223: [fix][sec] Update dependencies to use snakeyaml 2.0 against 3.0
Posted by "tisonkun (via GitHub)" <gi...@apache.org>.
tisonkun commented on PR #20223:
URL: https://github.com/apache/pulsar/pull/20223#issuecomment-1654127564
Covered by https://github.com/apache/pulsar/pull/20085.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org