Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2025-41232

Опубликовано: 21 мая 2025
Источник: redhat
CVSS3: 7.4

Описание

Spring Security Aspects may not correctly locate method security annotations on private methods. This can cause an authorization bypass. Your application may be affected by this if the following are true:

  • You are using @EnableMethodSecurity(mode=ASPECTJ) and spring-security-aspects, and
  • You have Spring Security method annotations on a private method In that case, the target method may be able to be invoked without proper authorization. You are not affected if:
  • You are not using @EnableMethodSecurity(mode=ASPECTJ) or spring-security-aspects, or
  • You have no Spring Security-annotated private methods

    A flaw was found in Spring Security Aspects. Affected versions of this package are vulnerable to Missing Authentication for Critical Function due to improperly locating method security annotations on private methods. An attacker could invoke the target method without proper authorization by exploiting this vulnerability.

Отчет

Red Hat build of Apache Camel for Spring Boot 4 does not use org.springframework.security:spring-security-aspects. We don't have this anywhere in camel/camel-spring-boot and we have no direct vulnerability in CSB. The risk lies with spring-boot-dependencies 3.4.5, which could pull in the vulnerable spring-security-aspects if explicitly added by a user.

Меры по смягчению последствий

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
A-MQ Clients 2spring-security-coreNot affected
OpenShift Developer Tools and ServicesjenkinsNot affected
Red Hat build of Apache Camel for Spring Boot 4spring-security-coreAffected
Red Hat build of Quarkusquarkus-bomNot affected
Red Hat Data Grid 8spring-security-coreNot affected
Red Hat Fuse 7org.apache.servicemix.bundles.spring-security-coreNot affected
Red Hat Fuse 7spring-security-coreNot affected
Red Hat Integration Camel K 1spring-security-coreNot affected
Red Hat JBoss Enterprise Application Platform 7spring-security-coreNot affected
Red Hat JBoss Enterprise Application Platform 8spring-security-coreNot affected

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-306
https://bugzilla.redhat.com/show_bug.cgi?id=2367758Spring-Security: Spring Security authorization bypass for method security annotations on private methods

7.4 High

CVSS3

Связанные уязвимости

CVSS3: 9.1
nvd
3 месяца назад

Spring Security Aspects may not correctly locate method security annotations on private methods. This can cause an authorization bypass. Your application may be affected by this if the following are true: * You are using @EnableMethodSecurity(mode=ASPECTJ) and spring-security-aspects, and * You have Spring Security method annotations on a private method In that case, the target method may be able to be invoked without proper authorization. You are not affected if: * You are not using @EnableMethodSecurity(mode=ASPECTJ) or spring-security-aspects, or * You have no Spring Security-annotated private methods

CVSS3: 9.1
debian
3 месяца назад

Spring Security Aspects may not correctly locate method security annot ...

CVSS3: 9.1
github
3 месяца назад

Spring Security authorization bypass for method security annotations on private methods

CVSS3: 9.1
fstec
3 месяца назад

Уязвимость конфигурации @EnableMethodSecurity(mode=ASPECTJ) или spring-security-aspects Java-фреймворка для обеспечения безопасности промышленных приложений Spring Security, позволяющая нарушителю обойти процедуру авторизации

7.4 High

CVSS3