Page MenuHomePhabricator

Unable to merge CentralAuth patches (master does not satisfy mwext-php72-phan-seccheck-docker in CI)
Closed, ResolvedPublic

Description

https://integration.wikimedia.org/ci/job/mwext-php72-phan-seccheck-docker/46078/console

00:01:36.348 <checkstyle version="6.5">
00:01:36.348   <file name="includes/specials/SpecialMultiLock.php">
00:01:36.348     <error line="342" severity="warning" message="Calling method \OutputPage::addHTML() in \SpecialMultiLock::showUserTable that outputs using tainted argument $rowtext. (Caused by: Builtin-\OutputPage::addHTML) (Caused by: includes/specials/SpecialMultiLock.php +327; includes/specials/SpecialMultiLock.php +332; includes/specials/SpecialMultiLock.php +334; includes/specials/SpecialMultiLock.php +341; includes/specials/SpecialMultiLock.php +342)" source="SecurityCheck-XSS"/>
00:01:36.348   </file>
00:01:36.348 </checkstyle>

Event Timeline

Jdforrester-WMF created this task.
Krinkle renamed this task from CentralAuth master broken on mwext-php72-phan-seccheck-docker to Unable to merge CentralAuth patches (master does not satisfy mwext-php72-phan-seccheck-docker in CI).Apr 13 2020, 3:21 PM
Krinkle added a project: Platform Engineering.
Krinkle added a subscriber: WDoranWMF.

@WDoranWMF This component is currently lacking a steward. Could your team perhaps take a look as part of clinic duty?

FTR, this is a false positive, and it's already fixed in taint-check 3. You can just suppress it for now, and remove the suppression while upgrading taint-check.

Change 589313 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/extensions/CentralAuth@master] Suppress phan sec-check false positive

https://gerrit.wikimedia.org/r/589313

FTR, this is a false positive, and it's already fixed in taint-check 3. You can just suppress it for now, and remove the suppression while upgrading taint-check.

Thanks! Didn't want to blindly disable if it was a novel or more systemic issue.

Change 589313 merged by jenkins-bot:
[mediawiki/extensions/CentralAuth@master] Suppress phan sec-check false positive

https://gerrit.wikimedia.org/r/589313