Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
The probability is the direct output of the EPSS model, and conveys an overall sense of the threat of exploitation in the wild. The percentile measures the EPSS probability relative to all known EPSS scores. Note: This data is updated daily, relying on the latest available EPSS model version. Check out the EPSS documentation for more details.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade com.squareup.okhttp3:okhttp
to version 4.9.2 or higher.
com.squareup.okhttp3:okhttp is a HTTP & HTTP/2 client for Android and Java applications
Affected versions of this package are vulnerable to Information Exposure. When there's an illegal character in a header value, an IllegalArgumentException
is thrown whose message includes the full header value.
package com.launchdarkly.eventsource;
import okhttp3.*;
import org.junit.Test;
import static org.hamcrest.MatcherAssert.*;
import static org.hamcrest.Matchers.*;
public class OkhttpHeaderExceptionTest {
@Test
public void invalidHeaderValueIsCapturedInException() throws Exception {
String password = "very-secret-password";
String badValue = password + "\n";
try {
Request req = new Request.Builder().url("http://github.com/path/doesnt/matter")
.header("Authorization", badValue)
.build();
} catch (IllegalArgumentException e) {
assertThat(e.getMessage(), not(containsString(password)));
}
}
}