From dev-return-55748-archive-asf-public=cust-asf.ponee.io@thrift.apache.org Sat Mar 9 16:21:08 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 03DC518062C for ; Sat, 9 Mar 2019 17:21:07 +0100 (CET) Received: (qmail 29090 invoked by uid 500); 9 Mar 2019 16:21:07 -0000 Mailing-List: contact dev-help@thrift.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@thrift.apache.org Delivered-To: mailing list dev@thrift.apache.org Received: (qmail 29079 invoked by uid 99); 9 Mar 2019 16:21:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Mar 2019 16:21:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id A186A181AB2 for ; Sat, 9 Mar 2019 16:21:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.5 X-Spam-Level: X-Spam-Status: No, score=-109.5 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id O6N2yCrRzvL6 for ; Sat, 9 Mar 2019 16:21:03 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 72C885F5F8 for ; Sat, 9 Mar 2019 16:21:02 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 36261E2631 for ; Sat, 9 Mar 2019 16:21:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 2E227257F3 for ; Sat, 9 Mar 2019 16:21:00 +0000 (UTC) Date: Sat, 9 Mar 2019 16:21:00 +0000 (UTC) From: "James E. King III (JIRA)" To: dev@thrift.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (THRIFT-4506) [CVE-2018-1320] Remove assertion in Java SASL code that would be ignored in release builds MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/THRIFT-4506?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D167= 88724#comment-16788724 ]=20 James E. King III commented on THRIFT-4506: ------------------------------------------- Vote on 0.9.3.1 is out now, release candidate uploaded. Content is identical to what is on Maven Central, so I'm not sure an unrele= ase is necessary.=C2=A0 Situation will be resolved on Tuesday when votes ar= e tallied, assuming all are positive, and I will update the CVE appropriate= ly after the official release.=C2=A0 Sorry for the trouble I've caused. > [CVE-2018-1320] Remove assertion in Java SASL code that would be ignored = in release builds > -------------------------------------------------------------------------= ----------------- > > Key: THRIFT-4506 > URL: https://issues.apache.org/jira/browse/THRIFT-4506 > Project: Thrift > Issue Type: Bug > Components: Java - Library > Affects Versions: 0.5 > Reporter: James E. King III > Assignee: James E. King III > Priority: Minor > Labels: SASL, security > Fix For: 0.9.3.1, 0.12.0 > > > There is an assertion in the SASL transport for Java that will only be pr= ocessed in debug builds, at https://github.com/apache/thrift/blob/master/li= b/java/src/org/apache/thrift/transport/TSaslTransport.java#L298. The prece= eding while loop can be changed to guarantee this assertion in all builds. > https://cve.mitre.org/cgi-bin/cvename.cgi?name=3D2018-1320 -- This message was sent by Atlassian JIRA (v7.6.3#76005)