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

[WFCORE-6578] CVE-2023-3171 WildFly heap exhaustion via deserialization #5760

Merged
merged 1 commit into from
Nov 10, 2023

Conversation

gaol
Copy link
Contributor

@gaol gaol commented Nov 9, 2023

@github-actions github-actions bot added the deps-ok Dependencies have been checked, and there are no significant changes label Nov 9, 2023
@wildfly-ci
Copy link

Core -> WildFly Preview Integration Build 13060 outcome was FAILURE using a merge of effd5cc
Summary: Tests failed: 1 (1 new), passed: 2781, ignored: 47 Build time: 02:04:04

Failed tests

TestSuite: org.eclipse.microprofile.fault.tolerance.tck.RetryTest.testRetryWithDelay: java.lang.AssertionError: The max number of execution should be greater than 4 but it was 2 expected [true] but found [false]
	at deployment.ftRetry.war//org.testng.Assert.fail(Assert.java:99)
	at deployment.ftRetry.war//org.testng.Assert.failNotEquals(Assert.java:1037)
	at deployment.ftRetry.war//org.testng.Assert.assertTrue(Assert.java:45)
	at deployment.ftRetry.war//org.eclipse.microprofile.fault.tolerance.tck.RetryTest.testRetryWithDelay(RetryTest.java:132)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at deployment.ftRetry.war//org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:133)
	at deployment.ftRetry.war//org.testng.internal.MethodInvocationHelper$1.runTestMethod(MethodInvocationHelper.java:239)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at jdk.internal.reflect.GeneratedMethodAccessor259.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at jdk.internal.reflect.GeneratedMethodAccessor257.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at jdk.internal.reflect.GeneratedMethodAccessor258.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at deployment.ftRetry.war//org.testng.internal.MethodInvocationHelper.invokeHookable(MethodInvocationHelper.java:253)
	at deployment.ftRetry.war//org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:594)
	at deployment.ftRetry.war//org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:173)
	at deployment.ftRetry.war//org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46)
	at deployment.ftRetry.war//org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:824)
	at deployment.ftRetry.war//org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:146)
	at deployment.ftRetry.war//org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
	at deployment.ftRetry.war//org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at deployment.ftRetry.war//org.testng.TestRunner.privateRun(TestRunner.java:794)
	at deployment.ftRetry.war//org.testng.TestRunner.run(TestRunner.java:596)
	at deployment.ftRetry.war//org.testng.SuiteRunner.runTest(SuiteRunner.java:377)
	at deployment.ftRetry.war//org.testng.SuiteRunner.runSequentially(SuiteRunner.java:371)
	at deployment.ftRetry.war//org.testng.SuiteRunner.privateRun(SuiteRunner.java:332)
	at deployment.ftRetry.war//org.testng.SuiteRunner.run(SuiteRunner.java:276)
	at deployment.ftRetry.war//org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)
	at deployment.ftRetry.war//org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96)
	at deployment.ftRetry.war//org.testng.TestNG.runSuitesSequentially(TestNG.java:1212)
	at deployment.ftRetry.war//org.testng.TestNG.runSuitesLocally(TestNG.java:1134)
	at deployment.ftRetry.war//org.testng.TestNG.runSuites(TestNG.java:1063)
	at deployment.ftRetry.war//org.testng.TestNG.run(TestNG.java:1031)
	at [email protected]//jakarta.servlet.http.HttpServlet.service(HttpServlet.java:527)
	at [email protected]//jakarta.servlet.http.HttpServlet.service(HttpServlet.java:614)
	at [email protected]//io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
	at [email protected]//io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
	at [email protected]//io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
	at [email protected]//io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
	at [email protected]//org.wildfly.elytron.web.undertow.server.ElytronRunAsHandler.lambda$handleRequest$1(ElytronRunAsHandler.java:68)
	at [email protected]//org.wildfly.security.auth.server.FlexibleIdentityAssociation.runAsFunctionEx(FlexibleIdentityAssociation.java:103)


@wildfly-ci
Copy link

Core -> Full Integration Build 13210 outcome was FAILURE using a merge of effd5cc
Summary: Tests failed: 1 (1 new), passed: 7648, ignored: 124 Build time: 04:25:10

Failed tests

org.jboss.as.test.integration.jpa.webtxem.WebJPATestCase(basic-integration-default-web).testReadWrite: java.io.IOException: java.util.concurrent.ExecutionException: java.io.IOException: HTTP Status 500 Response: <html><head><title>ERROR</title><style>
body {
    font-family: "Lucida Grande", "Lucida Sans Unicode", "Trebuchet MS", Helvetica, Arial, Verdana, sans-serif;
    margin: 5px;
}

.header {
    background-image: linear-gradient(bottom, rgb(153,151,153) 8%, rgb(199,199,199) 54%);
    background-image: -o-linear-gradient(bottom, rgb(153,151,153) 8%, rgb(199,199,199) 54%);
    background-image: -moz-linear-gradient(bottom, rgb(153,151,153) 8%, rgb(199,199,199) 54%);
    background-image: -webkit-linear-gradient(bottom, rgb(153,151,153) 8%, rgb(199,199,199) 54%);
    background-image: -ms-linear-gradient(bottom, rgb(153,151,153) 8%, rgb(199,199,199) 54%);
    
    background-image: -webkit-gradient(
        linear,
        left bottom,
        left top,
        color-stop(0.08, rgb(153,151,153)),
        color-stop(0.54, rgb(199,199,199))
    );
    color: black;
    padding: 2px;
    font-weight: normal;
    border: solid 1px;
    font-size: 170%;
    text-align: left;
    vertical-align: middle; 
    height: 32px; 
    margin-bottom: 10px;
}
.error-div {
    display: inline-block;
    width: 32px;
    height: 32px;
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAABIAAAASABGyWs+AAAACXZwQWcAAAAgAAAAIACH+pydAAAGGElEQVRYw8WXW2wcVxnHf+fM7NXrdXbdtZ3ipGqCEzvQKmlFoUggwkvvGBoaqVVV5Y0nkCoQPPCAhMQbQlzUh/IWHoh6QUVKZVLxUCGogKZRW9uJkyg0iVzZ2dhre9c7u7M7c87hYWc2M7t2bBASI306O/85+v7/7zLn24H/8yV2u/EcFNvwVNK2X0DKw1qpYaX1gCWlY0m5arRe8JQ6I2DmaVj/nwk4CxO2Zf1aw9dKo6N67+eOZHN7x0gViiSHBmlXa7hrazjLt1i+eKmxUi5bwpg/e8a8PA3X/msBr0MyJ+WvgFOffehY8v7HH5OW78HqGjgOtNrge2AnIJWAgQEYLqBsm3/NvKM/mZ1rYczpRa2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WRlc2t0b3Aub3JnL1RhbmdvX0ljb25fTGlicmFyebzIrdYAAAAASUVORK5CYII=') left center no-repeat;
}
.error-text-div {
    display: inline-block;
    vertical-align: top;
    height: 32px;
}
.label {
    font-weight:bold;
    display: inline-block;
}
.value {
    display: inline-block;
    margin-left: 5px;
}
pre {
    font-size: 110%;


@yersan yersan changed the title [WFCORE-6578] WildFly heap exhaustion via deserialization [WFCORE-6578] CVE-2023-3171 WildFly heap exhaustion via deserialization Nov 9, 2023
@yersan
Copy link
Collaborator

yersan commented Nov 9, 2023

Full integration - Linux is being tracked under WFLY-17349
Preview Integration Linux - JDK 17 — Error should be unrelated but there are no enough statistics yet.

@yersan yersan added the ready-for-merge This PR is ready to be merged and fulfills all requirements label Nov 10, 2023
@yersan yersan merged commit af76351 into wildfly:main Nov 10, 2023
@yersan
Copy link
Collaborator

yersan commented Nov 10, 2023

Thanks @gaol

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deps-ok Dependencies have been checked, and there are no significant changes ready-for-merge This PR is ready to be merged and fulfills all requirements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants