Skip to content

Commit 3017072

Browse files
Merge pull request #1215 from mendix/moo/MOO-2287-update-vulnerable-android-dependencies-master
[MOO-2287] - Update vulnerable okhttp, jackson, and security-crypto dependencies.
2 parents 1a995b5 + 19bacb9 commit 3017072

3 files changed

Lines changed: 14 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66

77
## [Unreleased]
88

9+
- We updated vulnerable `okhttp`, `jackson`, and `security-crypto` dependencies.
10+
11+
## [19.0.2] - 2026-04-22
12+
913
- We updated `mendix-native` to v0.4.1, strengthening Android cookie encryption by migrating from `AES/CBC/PKCS7Padding` to `AES/GCM/NoPadding`.
1014

1115
## [19.0.1] - 2026-04-22

android/app/build.gradle

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -124,14 +124,14 @@ dependencies {
124124
implementation project(':react-native-localize')
125125

126126
// Explicit add okhttp
127-
implementation("com.squareup.okhttp3:okhttp:4.9.1")
128-
implementation("com.squareup.okhttp3:okhttp-urlconnection:4.9.1")
127+
implementation("com.squareup.okhttp3:okhttp:${rootProject.ext.okhttpVersion}")
128+
implementation("com.squareup.okhttp3:okhttp-urlconnection:${rootProject.ext.okhttpVersion}")
129129

130130
// Required by MendixNative
131-
implementation("com.fasterxml.jackson.core:jackson-core:2.11.3")
132-
implementation("com.fasterxml.jackson.core:jackson-databind:2.11.3")
133-
implementation("com.fasterxml.jackson.core:jackson-annotations:2.11.3")
134-
implementation "androidx.security:security-crypto:1.1.0"
131+
implementation("com.fasterxml.jackson.core:jackson-core:${rootProject.ext.jacksonVersion}")
132+
implementation("com.fasterxml.jackson.core:jackson-databind:${rootProject.ext.jacksonVersion}")
133+
implementation("com.fasterxml.jackson.core:jackson-annotations:${rootProject.ext.jacksonVersion}")
134+
implementation "androidx.security:security-crypto:${rootProject.ext.securityCryptoVersion}"
135135

136136
// Required for Custom Dev Apps
137137
devImplementation "androidx.constraintlayout:constraintlayout:2.0.4"

android/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ buildscript {
1313
androidXBrowser = "1.3.0"
1414

1515
ndkVersion = "27.3.13750724"
16+
17+
jacksonVersion = "2.17.3"
18+
okhttpVersion = "4.12.0"
19+
securityCryptoVersion = "1.1.0"
1620
}
1721
repositories {
1822
google()

0 commit comments

Comments
 (0)