Skip to content

Commit 63829cb

Browse files
lisaSW0x6d6f7468
andauthored
Update Mongo To Address CVE (#845)
* De-master-ize the codebase ^____^ (#833) * Update Package Names (#835) * Add CODEOWNERS file * Remove duplicate import * Update package references to rita-legacy * Update CI/CD runner versions; Catch some straggling missing legacies (#837) * Revert golang from v1.22 to v1.17 (#843) * Update Mongo to Address CVE-2025-14847 (#842) * Bump mongo version to address CVE, also update golang version in Dockerfile * Update test.Dockerfile to also use Golang 1.22 * Revert golang version in PR --------- Co-authored-by: moth <moth@blackhillsinfosec.com>
1 parent 4dfa0e9 commit 63829cb

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ docker-check:
3535
.PHONY: integration-test
3636
integration-test: docker-check
3737
# docker run should only get executed once on initialization using the cache trick
38-
integration-test: MONGO_EXE = $(shell docker run --rm -d mongo:4.2)
38+
integration-test: MONGO_EXE = $(shell docker run --rm -d mongo:4.4)
3939
integration-test: MONGO_ID = $(call cache,MONGO_EXE)
4040
integration-test: MONGO_IP = $(shell docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $(MONGO_ID))
4141
integration-test:

database/db.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ var MinMongoDBVersion = semver.Version{
2323
// versions of MongoDB compatible with RITA
2424
var MaxMongoDBVersion = semver.Version{
2525
Major: 4,
26-
Minor: 3,
26+
Minor: 5,
2727
Patch: 0,
2828
}
2929

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ version: "3"
22

33
services:
44
db:
5-
image: mongo:4.2
5+
image: mongo:4.4.30
66
volumes:
77
- db:/data/db/
88

99
rita:
10-
image: quay.io/activecm/rita-legacy:${VERSION:-latest}
10+
image: quay.io/activecm/rita:${VERSION:-latest}
1111
build: .
1212
links:
1313
# give db an alias of "localhost" so that RITA's default config works unchanged

install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
# activecountermeasures.com
55

66
# CONSTANTS
7-
_RITA_VERSION="v4.8.0"
8-
_MONGO_VERSION="4.2"
7+
_RITA_VERSION="v4.8.2"
8+
_MONGO_VERSION="4.4"
99
_MONGO_MIN_UPDATE_VERSION="4.0"
1010
_NAME=$(basename "${0}")
1111
_FAILED="\e[91mFAILED\e[0m"

0 commit comments

Comments
 (0)