Skip to content

Commit ae66239

Browse files
@W-20151632: MSDK Android Security Bug: CVE-2025-11953 - React Native Community CLI (RCE) (#2800)
1 parent 0e39afb commit ae66239

File tree

10 files changed

+52
-47
lines changed

10 files changed

+52
-47
lines changed

.github/workflows/reusable-workflow.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
uses: android-actions/setup-android@v3
4747
- uses: gradle/actions/setup-gradle@v4
4848
with:
49-
gradle-version: "8.10.1"
49+
gradle-version: "8.12.0"
5050
add-job-summary: on-failure
5151
add-job-summary-as-pr-comment: on-failure
5252
- name: Run Lint

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ buildscript {
99
}
1010

1111
dependencies {
12-
classpath("com.android.tools.build:gradle:8.10.1")
12+
classpath("com.android.tools.build:gradle:8.12.0")
1313
classpath("io.github.gradle-nexus:publish-plugin:2.0.0")
1414
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.24")
1515
classpath("org.jacoco:org.jacoco.core:0.8.13")

buildSrc/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ repositories {
77
}
88

99
dependencies {
10-
implementation("com.android.tools.build:gradle:8.10.1")
10+
implementation("com.android.tools.build:gradle:8.12.0")
1111
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.24")
1212
implementation("org.jetbrains.kotlin:kotlin-stdlib:2.0.21")
1313
}

gradle/wrapper/gradle-wrapper.jar

-19.2 KB
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 14 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradlew.bat

Lines changed: 14 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

libs/SalesforceReact/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ android {
4242
namespace = "com.salesforce.androidsdk.reactnative"
4343
testNamespace = "com.salesforce.androidsdk.reactnative.tests"
4444

45-
//noinspection GradleDependency - Will be upgraded to 36 in Mobile SDK 14.0
45+
//noinspection GradleDependency - Will be upgraded to 36 in Mobile SDK 14.0. Also, React Native 0.81.5 requests 36.
4646
compileSdk = 35
4747

4848
defaultConfig {

libs/SalesforceReact/package.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,34 +9,34 @@
99
"@babel/plugin-transform-private-property-in-object": "^7.24.7",
1010
"create-react-class": "^15.7.0",
1111
"jsc-android": "^250231.0.0",
12-
"react": "19.0.0",
13-
"react-native": "0.79.3",
12+
"react": "19.1.0",
13+
"react-native": "0.81.5",
1414
"react-native-force": "git+https://github.com/forcedotcom/SalesforceMobileSDK-ReactNative.git#dev"
1515
},
1616
"devDependencies": {
1717
"@babel/core": "^7.25.2",
1818
"@babel/preset-env": "^7.25.3",
1919
"@babel/runtime": "^7.25.0",
20-
"@react-native-community/cli": "18.0.0",
21-
"@react-native-community/cli-platform-android": "18.0.0",
22-
"@react-native-community/cli-platform-ios": "18.0.0",
23-
"@react-native/babel-preset": "0.79.3",
24-
"@react-native/eslint-config": "0.79.3",
25-
"@react-native/metro-config": "0.79.3",
26-
"@react-native/typescript-config": "0.79.3",
20+
"@react-native-community/cli": "20.0.0",
21+
"@react-native-community/cli-platform-android": "20.0.0",
22+
"@react-native-community/cli-platform-ios": "20.0.0",
23+
"@react-native/babel-preset": "0.81.5",
24+
"@react-native/eslint-config": "0.81.5",
25+
"@react-native/metro-config": "0.81.5",
26+
"@react-native/typescript-config": "0.81.5",
2727
"@types/jest": "^29.5.13",
28-
"@types/react": "^19.0.0",
29-
"@types/react-test-renderer": "^19.0.0",
28+
"@types/react": "^19.1.0",
29+
"@types/react-test-renderer": "^19.1.0",
3030
"babel-jest": "^30.0.0",
3131
"chai": "4.4.1",
3232
"eslint": "^8.19.0",
3333
"jest": "^29.6.3",
3434
"metro-react-native-babel-preset": "0.77.0",
3535
"prettier": "2.8.8",
36-
"react-test-renderer": "19.0.0",
37-
"typescript": "5.0.4"
36+
"react-test-renderer": "19.1.0",
37+
"typescript": "^5.8.3"
3838
},
3939
"engines": {
40-
"node": ">=18"
40+
"node": ">=20"
4141
}
4242
}

libs/SalesforceSDK/build.gradle.kts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ plugins {
1212

1313
dependencies {
1414
val composeVersion = "1.8.2" // Update requires Kotlin 2.
15-
val livecycleVersion = "2.8.7" // Update requires Kotlin 2.
15+
val lifecycleVersion = "2.8.7" // Update requires Kotlin 2.
1616
val androidXActivityVersion = "1.10.1"
1717

1818
api(project(":libs:SalesforceAnalytics"))
@@ -29,10 +29,10 @@ dependencies {
2929
implementation("androidx.core:core-ktx:1.16.0") // Update requires API 36 compileSdk
3030
implementation("androidx.activity:activity-ktx:$androidXActivityVersion")
3131
implementation("androidx.activity:activity-compose:$androidXActivityVersion")
32-
implementation("androidx.lifecycle:lifecycle-viewmodel-ktx:$livecycleVersion")
33-
implementation("androidx.lifecycle:lifecycle-viewmodel-compose:$livecycleVersion")
34-
implementation("androidx.lifecycle:lifecycle-viewmodel-savedstate:$livecycleVersion")
35-
implementation("androidx.lifecycle:lifecycle-service:$livecycleVersion")
32+
implementation("androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycleVersion")
33+
implementation("androidx.lifecycle:lifecycle-viewmodel-compose:$lifecycleVersion")
34+
implementation("androidx.lifecycle:lifecycle-viewmodel-savedstate:$lifecycleVersion")
35+
implementation("androidx.lifecycle:lifecycle-service:$lifecycleVersion")
3636
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.3") // Update requires Kotlin 2.
3737
implementation("androidx.window:window:1.4.0")
3838
implementation("androidx.window:window-core:1.4.0")

0 commit comments

Comments
 (0)