golang-github-crewjam-saml: CVE-2023-45683

Related Vulnerabilities: CVE-2023-45683  

Debian Bug report logs - #1054223
golang-github-crewjam-saml: CVE-2023-45683

version graph

Reported by: Salvatore Bonaccorso <carnil@debian.org>

Date: Thu, 19 Oct 2023 13:54:01 UTC

Severity: grave

Tags: security, upstream

Found in version golang-github-crewjam-saml/0.4.12-2

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, carnil@debian.org, team@security.debian.org, Debian Go Packaging Team <team+pkg-go@tracker.debian.org>:
Bug#1054223; Package src:golang-github-crewjam-saml. (Thu, 19 Oct 2023 13:54:03 GMT) (full text, mbox, link).


Acknowledgement sent to Salvatore Bonaccorso <carnil@debian.org>:
New Bug report received and forwarded. Copy sent to carnil@debian.org, team@security.debian.org, Debian Go Packaging Team <team+pkg-go@tracker.debian.org>. (Thu, 19 Oct 2023 13:54:03 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Salvatore Bonaccorso <carnil@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: golang-github-crewjam-saml: CVE-2023-45683
Date: Thu, 19 Oct 2023 15:50:48 +0200
Source: golang-github-crewjam-saml
Version: 0.4.12-2
Severity: grave
Tags: security upstream
X-Debbugs-Cc: carnil@debian.org, Debian Security Team <team@security.debian.org>

Hi,

The following vulnerability was published for golang-github-crewjam-saml.

CVE-2023-45683[0]:
| github.com/crewjam/saml is a saml library for the go language. In
| affected versions the package does not validate the ACS Location URI
| according to the SAML binding being parsed. If abused, this flaw
| allows attackers to register malicious Service Providers at the IdP
| and inject Javascript in the ACS endpoint definition, achieving
| Cross-Site-Scripting (XSS) in the IdP context during the redirection
| at the end of a SAML SSO Flow. Consequently, an attacker may perform
| any authenticated action as the victim once the victim’s browser
| loaded the SAML IdP initiated SSO link for the malicious service
| provider. Note: SP registration is commonly an unrestricted
| operation in IdPs, hence not requiring particular permissions or
| publicly accessible to ease the IdP interoperability. This issue is
| fixed in version 0.4.14. Users unable to upgrade may perform
| external validation of URLs provided in SAML metadata, or restrict
| the ability for end-users to upload arbitrary metadata.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2023-45683
    https://www.cve.org/CVERecord?id=CVE-2023-45683
[1] https://github.com/crewjam/saml/security/advisories/GHSA-267v-3v32-g6q5

Regards,
Salvatore

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Oct 19 17:53:48 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.