Hi All,
We are using Bitbucket in private cloud -
And recently received following vulnerability.
"/App/atlassian/bitbucket/jre/bin/java 1.8.0_172-b11 Enhanced#"
CVE ID - CVE-2021-2161, CVE-2021-2163
May you please advise how we can fix this? I will really appreciate any quick response on it.
Warm Regards,
Nitesh
Hi @Nitesh Kumar ,
If you want to fix only java vuln, you update the version of JRE.
via replacement in /App/atlassian/bitbucket/jre/ . (Please, don't forget to make a backup and use the java 8. )
Also, please, be aware you're using quite old version of Bitbucket, I do recommend you to upgrade.
https://confluence.atlassian.com/bitbucketserver/bitbucket-server-5-11-release-notes-950274914.html
Be aware that changing the version of Java under your Bitbucket is not recommended, as Atlassian only supports you running on the Java that was distributed with the version of Bitbucket you're on.
An upgrade will change the java version if the new Bitbucket version uses a later releases, so it's a good idea to go this way, and I completely agree with Gonchik's recommendation to upgrade Bitbucket
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Nic Brough -Adaptavist- @Gonchik Tsymzhitov can you also please suggest if Bitbucket v5.11.1 supports OpenJDK also so that I can use that instead of Oracle Java, and OpenJDK will be updated itself during server patching itself whenever there a patch of that.
Current version in use is::
~]$ /App/atlassian/bitbucket/jre/bin/java -version
java version "1.8.0_172"
Java(TM) SE Runtime Environment (build 1.8.0_172-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.172-b11, mixed mode)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
See https://confluence.atlassian.com/bitbucketserver0511/install-or-upgrade-bitbucket-server/supported-platforms - it covers that (and a load of other follow up questions you may have)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.