【发布时间】:2016-07-06 07:42:59
【问题描述】:
我收到了来自 Google Play 的关于 OpenSSL 漏洞的安全警报。我不直接使用 OpenSSL,但我正在使用的库之一可能是。
我已更新所有内容,包括 JDK、SDK、gradle、所有可能的库,但 OpenSSL 版本仍然为我的应用显示 1.0.1j。我尝试了 Stack Overflow、其他网站和博客中提到的所有解决方案,但没有任何改变。以下是我已经提到的几个链接:
- Google Play and OpenSSL warning message
- OpenSSL Security Alert Mail from Google Play for android apps
- Update Android app to latest version of OpenSSL
- Security Alert: You are using a highly vulnerable version of OpenSSL(谷歌论坛)
这不是一个重复的问题,因为没有其他问题的答案可以帮助我。请帮忙。
这是我应用的 build.gradle 文件:
buildscript {
repositories {
maven { url 'https://maven.fabric.io/public' }
}
dependencies {
classpath 'io.fabric.tools:gradle:1.21.6'
}
}
apply plugin: 'com.android.application'
apply plugin: 'io.fabric'
repositories {
mavenCentral()
maven { url 'https://maven.fabric.io/public' }
jcenter()
maven { url 'http://maven.localytics.com/public' }
maven() {
url "https://oss.sonatype.org/content/repositories/snapshots"
}
}
android {
compileSdkVersion 24
buildToolsVersion "24.0.0"
lintOptions {
disable 'InvalidPackage'
abortOnError false
}
packagingOptions {
exclude 'META-INF/services/javax.annotation.processing.Processor'
}
defaultConfig {
applicationId "co.myandroid.app"
minSdkVersion 14
targetSdkVersion 24
versionCode 29
versionName "1.0.0.19"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
}
dependencies {
compile('com.crashlytics.sdk.android:crashlytics:2.6.0@aar') {
transitive = true;
}
compile('com.github.worker8:tourguide:1.0.17-SNAPSHOT@aar') {
transitive = true
}
compile project(':cropper')
compile 'com.android.support:support-v4:24.0.0'
compile 'com.parse.bolts:bolts-android:1.4.0'
compile 'com.parse:parse-android:1.13.0'
compile 'com.android.support:appcompat-v7:24.0.0'
compile 'com.android.support:cardview-v7:24.0.0'
compile 'com.android.support:design:24.0.0'
compile 'com.squareup:android-times-square:1.6.5@aar'
compile 'com.google.android.gms:play-services-analytics:9.2.0'
compile 'com.google.android.gms:play-services-gcm:9.2.0'
compile 'com.google.android.gms:play-services-ads:9.2.0'
compile 'com.localytics.android:library:4.0.1'
compile 'org.jbundle.util.osgi.wrapped:org.jbundle.util.osgi.wrapped.org.apache.http.client:4.1.2'
}
【问题讨论】:
-
Maven 因过时和易受攻击的软件而臭名昭著。停止使用它。另见How to check which dependancy causes OpenSSL vulnerability。
标签: android maven openssl google-play android-security