Bug 1977454

Summary: builds: e2e-proxy tests fail due to Redis security protections
Product: OpenShift Container Platform Reporter: Adam Kaplan <adam.kaplan>
Component: BuildAssignee: Adam Kaplan <adam.kaplan>
Status: CLOSED ERRATA QA Contact: XiuJuan Wang <xiuwang>
Severity: high Docs Contact:
Priority: high    
Version: 4.8CC: aos-bugs, jitsingh
Target Milestone: ---   
Target Release: 4.9.0   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-18 17:37:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1977710    

Description Adam Kaplan 2021-06-29 19:25:31 UTC
Description of problem:

The build in-cluster service test deploys a Redis service, then checks the service availability by running a `curl` command against the redis endpoint.
Newer versions of Redis won't allow these requests when proxy environment variables are set.

Version-Release number of selected component (if applicable): 4.8

How reproducible: Always

Steps to Reproduce:
1. Install OCP behind a proxy
2. Start a Redis service in a project
3. In the same project, start a build which connects to the redis service

Actual results:

Connection is aborted.
Redis error message:

# Possible SECURITY ATTACK detected. It looks like somebody is sending POST or Host: commands to Redis. This is likely due to an attacker attempting to use Cross Protocol Scripting to compromise your Redis instance. Connection aborted.

Expected results:

Connection succeeds

Additional info:


Comment 2 Jitendar Singh 2021-07-09 06:53:53 UTC
Results for the openshift-ci test

[sig-builds][Feature:Builds] build can reference a cluster service with a build being created from new-build should be able to run a build that references a cluster service [Skipped:Disconnected] [Suite:openshift/conformance/parallel]

it passed

Comment 5 errata-xmlrpc 2021-10-18 17:37:18 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.9.0 bug fix and security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.