Security
Headlines
HeadlinesLatestCVEs

Headline

CVE-2017-20181: Bugfix Path Traversal Vulnerability - see https://support.google.com/… · hgzojer/vocabletrainer@accf683

A vulnerability classified as critical was found in hgzojer Vocable Trainer up to 1.3.0. This vulnerability affects unknown code of the file src/at/hgz/vocabletrainer/VocableTrainerProvider.java. The manipulation leads to path traversal. Attacking locally is a requirement. Upgrading to version 1.3.1 is able to address this issue. The name of the patch is accf6838078f8eb105cfc7865aba5c705fb68426. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-222328.

CVE
#vulnerability#android#google#java

@@ -2,6 +2,7 @@

import java.io.File;

import java.io.FileNotFoundException;

import java.io.IOException;

import android.content.ContentProvider;

import android.content.ContentValues;

@@ -13,11 +14,19 @@

public class VocableTrainerProvider extends ContentProvider {

@Override

public ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException {

File cacheDir = getContext().getCacheDir();

File privateFile = new File(cacheDir, uri.getLastPathSegment());

public ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException {

try {

String cacheDir = getContext().getCacheDir().toString();

File privateFile = new File(cacheDir, uri.getLastPathSegment());

return ParcelFileDescriptor.open(privateFile, ParcelFileDescriptor.MODE_READ_ONLY);

if (!privateFile.getCanonicalPath().startsWith(cacheDir)) {

throw new IllegalArgumentException();

}

return ParcelFileDescriptor.open(privateFile, ParcelFileDescriptor.MODE_READ_ONLY);

} catch (IOException e) {

throw new RuntimeException(e.getMessage(), e);

}

}

@Override

CVE: Latest News

CVE-2023-50976: Transactions API Authorization by oleiman · Pull Request #14969 · redpanda-data/redpanda
CVE-2023-6905
CVE-2023-6903
CVE-2023-6904
CVE-2023-3907