Skip to content
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

[security] Upgrade Postgre driver to 42.2.25 to get rid of CVE-2022-21724 #14119

Merged
merged 3 commits into from Feb 7, 2022

Conversation

nicoloboschi
Copy link
Contributor

Motivation

http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-21724

Modifications

Upgrade both jdbc and debezium Postgre java driver dependency to 42.2.25 (from 42.2.24 and 42.2.22).
Note: the version is not shared on purpose because we should leave the driver dependencies separated since the two connectors are used in different ways. (For example, when we'll upgrade Debezium to 1.8.x we'll need to remove the override and keep the 42.3.x version)

For cherry-picks, branch-2.9 and branch-2.8 are compatible since:

  • branch-2.9 has the same debezium version
  • branch-2.8 has 1.0.0 but it uses pg driver 42.2.x as well

Documentation

  • no-need-doc

@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Feb 4, 2022
pom.xml Show resolved Hide resolved
@nicoloboschi
Copy link
Contributor Author

/pulsarbot rerun-failure-checks

@nicoloboschi
Copy link
Contributor Author

@lhotari @shoothzj PTAL again

@shoothzj shoothzj merged commit 6481845 into apache:master Feb 7, 2022
@nicoloboschi
Copy link
Contributor Author

@shoothzj would you able to cherry-pick this fix to 2.8 and 2.9 ?

nicoloboschi added a commit to datastax/pulsar that referenced this pull request Feb 7, 2022
…1724 (apache#14119)

http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-21724

Upgrade both `jdbc` and `debezium` Postgre java driver dependency to 42.2.25 (from 42.2.24 and 42.2.22).
Note: the version is not shared on purpose because we should leave the driver dependencies separated since the two connectors are used in different ways. (For example, when we'll upgrade Debezium to 1.8.x we'll need to remove the override and keep the 42.3.x version)

For cherry-picks, branch-2.9 and branch-2.8 are compatible since:
* branch-2.9 has the same debezium version
* branch-2.8 has 1.0.0 but it uses [pg driver 42.2.x](https://search.maven.org/artifact/io.debezium/debezium-parent/1.0.0.Final/pom) as well

- [x] `no-need-doc`

(cherry picked from commit 6481845)
zymap pushed a commit that referenced this pull request Feb 11, 2022
…1724 (#14119)

http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-21724

Upgrade both `jdbc` and `debezium` Postgre java driver dependency to 42.2.25 (from 42.2.24 and 42.2.22).
Note: the version is not shared on purpose because we should leave the driver dependencies separated since the two connectors are used in different ways. (For example, when we'll upgrade Debezium to 1.8.x we'll need to remove the override and keep the 42.3.x version)

For cherry-picks, branch-2.9 and branch-2.8 are compatible since:
* branch-2.9 has the same debezium version
* branch-2.8 has 1.0.0 but it uses [pg driver 42.2.x](https://search.maven.org/artifact/io.debezium/debezium-parent/1.0.0.Final/pom) as well

- [x] `no-need-doc`

(cherry picked from commit 6481845)
@zymap zymap added the cherry-picked/branch-2.8 Archived: 2.8 is end of life label Feb 11, 2022
@gaoran10 gaoran10 added area/dependency Pull requests that update a dependency file release/2.9.2 and removed release/2.9.3 labels Feb 16, 2022
gaoran10 pushed a commit that referenced this pull request Mar 1, 2022
…1724 (#14119)

http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-21724

Upgrade both `jdbc` and `debezium` Postgre java driver dependency to 42.2.25 (from 42.2.24 and 42.2.22).
Note: the version is not shared on purpose because we should leave the driver dependencies separated since the two connectors are used in different ways. (For example, when we'll upgrade Debezium to 1.8.x we'll need to remove the override and keep the 42.3.x version)

For cherry-picks, branch-2.9 and branch-2.8 are compatible since:
* branch-2.9 has the same debezium version
* branch-2.8 has 1.0.0 but it uses [pg driver 42.2.x](https://search.maven.org/artifact/io.debezium/debezium-parent/1.0.0.Final/pom) as well

- [x] `no-need-doc`

(cherry picked from commit 6481845)
@gaoran10 gaoran10 added the cherry-picked/branch-2.9 Archived: 2.9 is end of life label Mar 2, 2022
Nicklee007 pushed a commit to Nicklee007/pulsar that referenced this pull request Apr 20, 2022
…1724 (apache#14119)

### Motivation

http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-21724

### Modifications

Upgrade both `jdbc` and `debezium` Postgre java driver dependency to 42.2.25 (from 42.2.24 and 42.2.22).
Note: the version is not shared on purpose because we should leave the driver dependencies separated since the two connectors are used in different ways. (For example, when we'll upgrade Debezium to 1.8.x we'll need to remove the override and keep the 42.3.x version)

For cherry-picks, branch-2.9 and branch-2.8 are compatible since:
* branch-2.9 has the same debezium version
* branch-2.8 has 1.0.0 but it uses [pg driver 42.2.x](https://search.maven.org/artifact/io.debezium/debezium-parent/1.0.0.Final/pom) as well 

### Documentation

- [x] `no-need-doc`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/dependency Pull requests that update a dependency file area/security cherry-picked/branch-2.8 Archived: 2.8 is end of life cherry-picked/branch-2.9 Archived: 2.9 is end of life doc-not-needed Your PR changes do not impact docs release/2.8.3 release/2.9.2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants