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

add APK_MIN_SDK_VERSION to KB #94

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions MOBILE_CLIENT/ANDROID/_LOW/APK_MIN_SDK_VERSION/description.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The `android:minSdkVersion` attribute specifies the minimum Android API level required by the application. Setting a low `minSdkVersion` may allow the application to run on older Android versions but could expose users to security vulnerabilities.
elyousfi5 marked this conversation as resolved.
Show resolved Hide resolved
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


21 changes: 21 additions & 0 deletions MOBILE_CLIENT/ANDROID/_LOW/APK_MIN_SDK_VERSION/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"risk_rating": "low",
"short_description": "Application sets the minSdkVersion attribute to allow usage on Android versions earlier than 23.",
elyousfi5 marked this conversation as resolved.
Show resolved Hide resolved
"references": {
"Android API Levels": "https://developer.android.com/guide/topics/manifest/uses-sdk-element#min"
elyousfi5 marked this conversation as resolved.
Show resolved Hide resolved
},
"title": "Attribute minSdkVersion set",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This title doesn't reflect the vulnerability.

"cvss_v3_vector": "CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
"privacy_issue": false,
"security_issue": true,
"categories": {
"GDPR": [
"ART_24",
"ART_32"
],
"PCI_STANDARDS":[
"REQ_6_2",
"REQUIREMENT_6_3"
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Consider setting the `android:minSdkVersion` attribute to a value that corresponds to a more recent Android version. This can help ensure that the application benefits from security improvements and reduces the risk of vulnerabilities associated with older Android releases.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Consider setting the `android:minSdkVersion` attribute to a value that corresponds to a more recent Android version. This can help ensure that the application benefits from security improvements and reduces the risk of vulnerabilities associated with older Android releases.
Consider setting the `android:targetSdkVersion` attribute to a value that corresponds to a more recent Android version. This can help ensure that the application benefits from security improvements and reduces the risk of vulnerabilities associated with older Android releases.


=== "XML"
```xml
<uses-sdk android:minSdkVersion="23" />
```
Loading