Repository navigation
[Aikido] Fix 51 security issues in fast-xml-parser, fast-uri, brace-expansion and 6 more - #66
Closed
aikido-autofix[bot] wants to merge 1 commit into
Closed
aikido-autofix[bot] wants to merge 1 commit into
aikido-autofix[bot] wants to merge 1 commit into
Conversation
Package lock diff2.4.1 -> 2.7.0 node_modules/@aws-cdk/asset-awscli-v1 2.2.242 -> 2.2.292 node_modules/@aws-cdk/asset-node-proxy-agent-v6 2.1.0 -> 2.1.3 node_modules/@aws-cdk/cloud-assembly-schema 45.2.0 -> 55.2.0 node_modules/@aws-cdk/cloud-assembly-schema/node_modules/jsonschema 1.4.1 -> 1.5.0 node_modules/@aws-cdk/cloud-assembly-schema/node_modules/semver 7.7.2 -> 7.8.5 node_modules/@aws-crypto/sha256-browser removed node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer removed node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from removed node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8 removed node_modules/@aws-crypto/sha256-js removed node_modules/@aws-crypto/supports-web-crypto removed node_modules/@aws-crypto/util removed node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer removed node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from removed node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8 removed node_modules/@aws-sdk/client-cognito-identity removed node_modules/@aws-sdk/client-secrets-manager 3.840.0 -> 3.1156.0 node_modules/@aws-sdk/client-sso removed node_modules/@aws-sdk/core 3.840.0 -> 3.978.5 node_modules/@aws-sdk/credential-provider-cognito-identity 3.840.0 -> 3.972.75 node_modules/@aws-sdk/credential-provider-env 3.840.0 -> 3.972.76 node_modules/@aws-sdk/credential-provider-http 3.840.0 -> 3.972.78 node_modules/@aws-sdk/credential-provider-ini 3.840.0 -> 3.973.21 node_modules/@aws-sdk/credential-provider-node 3.840.0 -> 3.972.88 node_modules/@aws-sdk/credential-provider-process 3.840.0 -> 3.972.76 node_modules/@aws-sdk/credential-provider-sso 3.840.0 -> 3.973.20 node_modules/@aws-sdk/credential-provider-web-identity 3.840.0 -> 3.972.82 node_modules/@aws-sdk/credential-providers 3.840.0 -> 3.1156.0 node_modules/@aws-sdk/middleware-host-header removed node_modules/@aws-sdk/middleware-logger removed node_modules/@aws-sdk/middleware-recursion-detection removed node_modules/@aws-sdk/middleware-user-agent removed node_modules/@aws-sdk/nested-clients 3.840.0 -> 3.997.50 node_modules/@aws-sdk/region-config-resolver removed node_modules/@aws-sdk/token-providers 3.840.0 -> 3.1155.0 node_modules/@aws-sdk/types 3.840.0 -> 3.975.0 node_modules/@aws-sdk/util-endpoints removed node_modules/@aws-sdk/util-locate-window removed node_modules/@aws-sdk/util-user-agent-browser removed node_modules/@aws-sdk/util-user-agent-node removed node_modules/@aws-sdk/xml-builder 3.821.0 -> 3.972.41 node_modules/@smithy/abort-controller removed node_modules/@smithy/config-resolver removed node_modules/@smithy/core 3.6.0 -> 3.36.2 node_modules/@smithy/credential-provider-imds 4.0.6 -> 4.5.2 node_modules/@smithy/fetch-http-handler 5.0.4 -> 5.8.0 node_modules/@smithy/hash-node removed node_modules/@smithy/invalid-dependency removed node_modules/@smithy/is-array-buffer removed node_modules/@smithy/middleware-content-length removed node_modules/@smithy/middleware-endpoint removed node_modules/@smithy/middleware-retry removed node_modules/@smithy/middleware-serde removed node_modules/@smithy/middleware-stack removed node_modules/@smithy/node-config-provider removed node_modules/@smithy/node-http-handler 4.0.6 -> 4.12.1 node_modules/@smithy/property-provider removed node_modules/@smithy/protocol-http removed node_modules/@smithy/querystring-builder removed node_modules/@smithy/querystring-parser removed node_modules/@smithy/service-error-classification removed node_modules/@smithy/shared-ini-file-loader removed node_modules/@smithy/signature-v4 5.1.2 -> 5.7.4 node_modules/@smithy/smithy-client removed node_modules/@smithy/types 4.3.1 -> 4.19.0 node_modules/@smithy/url-parser removed node_modules/@smithy/util-base64 removed node_modules/@smithy/util-body-length-browser removed node_modules/@smithy/util-body-length-node removed node_modules/@smithy/util-buffer-from removed node_modules/@smithy/util-config-provider removed node_modules/@smithy/util-defaults-mode-browser removed node_modules/@smithy/util-defaults-mode-node removed node_modules/@smithy/util-endpoints removed node_modules/@smithy/util-hex-encoding removed node_modules/@smithy/util-middleware removed node_modules/@smithy/util-retry removed node_modules/@smithy/util-stream removed node_modules/@smithy/util-uri-escape removed node_modules/@smithy/util-utf8 removed node_modules/@types/uuid removed node_modules/ajv 6.12.6 -> 6.15.0 node_modules/aws-cdk-lib 2.204.0 -> 2.274.0 node_modules/aws-cdk-lib/node_modules/ajv removed node_modules/aws-cdk-lib/node_modules/ansi-regex removed node_modules/aws-cdk-lib/node_modules/ansi-styles removed node_modules/aws-cdk-lib/node_modules/astral-regex removed node_modules/aws-cdk-lib/node_modules/balanced-match 1.0.2 -> 4.0.4 node_modules/aws-cdk-lib/node_modules/brace-expansion 1.1.12 -> 5.0.12 node_modules/aws-cdk-lib/node_modules/color-convert removed node_modules/aws-cdk-lib/node_modules/color-name removed node_modules/aws-cdk-lib/node_modules/concat-map removed node_modules/aws-cdk-lib/node_modules/emoji-regex removed node_modules/aws-cdk-lib/node_modules/fast-deep-equal removed node_modules/aws-cdk-lib/node_modules/fast-uri removed node_modules/aws-cdk-lib/node_modules/fs-extra 11.3.0 -> 11.4.1 node_modules/aws-cdk-lib/node_modules/is-fullwidth-code-point removed node_modules/aws-cdk-lib/node_modules/json-schema-traverse removed node_modules/aws-cdk-lib/node_modules/jsonfile 6.1.0 -> 6.2.1 node_modules/aws-cdk-lib/node_modules/lodash.truncate removed node_modules/aws-cdk-lib/node_modules/minimatch 3.1.2 -> 10.2.6 node_modules/aws-cdk-lib/node_modules/require-from-string removed node_modules/aws-cdk-lib/node_modules/semver 7.7.2 -> 7.8.5 node_modules/aws-cdk-lib/node_modules/slice-ansi removed node_modules/aws-cdk-lib/node_modules/string-width removed node_modules/aws-cdk-lib/node_modules/strip-ansi removed node_modules/aws-cdk-lib/node_modules/table removed node_modules/aws-cdk-lib/node_modules/yaml 1.10.2 -> 1.10.3 node_modules/bowser 2.11.0 -> 2.14.1 node_modules/brace-expansion 1.1.12 -> 1.1.21 node_modules/constructs 10.4.2 -> 10.8.1 node_modules/fast-xml-parser removed node_modules/filelist/node_modules/brace-expansion 2.0.2 -> 2.1.7 node_modules/filelist/node_modules/minimatch 5.1.6 -> 5.1.9 node_modules/minimatch 3.1.2 -> 3.1.5 node_modules/strnum removed node_modules/uuid removed node_modules/@aws-sdk/credential-provider-login added node_modules/@aws-sdk/signature-v4-multi-region added node_modules/@aws/lambda-invoke-store added node_modules/aws-cdk-lib/node_modules/@aws-cdk/cloud-assembly-api added node_modules/aws-cdk-lib/node_modules/@aws/cloudformation-validate added node_modules/aws-cdk-lib/node_modules/json-source-map added |
aikido-autofix
Bot
deleted the
fix/aikido-security-update-packages-155878633-juku
branch
October 29, 2026 02:17
Author
|
Closed by Aikido: the vulnerabilities are already resolved. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Upgrade dependencies to fix critical XSS via XML entity shadowing, XML entity expansion DoS attacks, stack overflow in XML builder, SSRF bypass via URI parsing inconsistency, and other security vulnerabilities.
✅ The breaking changes in the
aws-cdk-libupgrade from 2.204.0 to 2.267.0 do not affect this codebase. The codebase uses:EC2 resources (
aws-ec2) - but only high-level constructs likeec2.Vpc,ec2.SecurityGroup,ec2.Instance, not the L1 resources with breaking changes (e.g.,CfnTrafficMirrorFilterRule,CfnEC2Fleet)RDS resources (
aws-rds) - usesrds.DatabaseInstance(L2 construct), not the L1CfnDBInstancethat had theStatusInfosproperty removedCloudFront (
aws-cloudfront) - usescf.Distribution(L2 construct), notCfnFunctionwhich had theNameproperty made immutableECS (
aws-ecs) - usesecs_patterns.ApplicationLoadBalancedFargateService(L3 construct), which doesn't expose theAvailabilityZoneRebalancingproperty that changed defaultsELB (
aws-elasticloadbalancingv2) - useselb.CfnLoadBalanceronly for a workaround to set subnets, not affected by the breaking changes in classic ELBThe codebase does not use any of the affected services like Neptune, Kinesis, OpsWorksCM, IoT FleetWise, SageMaker, Service Catalog, Batch, Bedrock, DynamoDB GlobalTable, Events, OpenSearch Serverless, Backup, ElastiCache, Redshift, Lambda Runtime constants, Glue, or Kinesis Firehose.
For the
ajvpackage upgrade from 8.17.1 to 8.20.0, the codebase does not import or useajvdirectly. The Node.js version requirement change (dropping support for Node 16 and 21) is not a concern as the documentation shows Node.js 18 is being used.All breaking changes by upgrading aws-cdk-lib from version 2.204.0 to 2.274.0 (CHANGELOG)
aws-cdk-lib.aws_ec2.CfnTrafficMirrorFilterRule:Idattribute was removedaws-cdk-lib.aws_kinesis.StreamConsumer:Idattribute was removedaws-cdk-lib.aws_neptune.DBInstance:Idattribute was removedaws-opsworkscm: CfnServer resource is no longer provisionable (AWS::OpsWorksCM::Server). Service is on deprecation pathaws-iotfleetwise: PropertiesDataDestinationConfigs,SignalsToCollectandSignalsToFetchin resourceCfnCampaignare now marked as immutable (they will cause a replacement of the resource if updated)aws-rds: AWS::RDS::DBInstance:StatusInfosproperty is removedaws-sagemaker: AWS::SageMaker::Domain:SingleSignOnApplicationArnproperty is removedaws-cloudfront: AWS::CloudFront::Function:Nameproperty is now set as immutableaws-ecs: AWS::ECS::Service: AvailabilityZoneRebalancing property default value changed from "ENABLED" to "DISABLED"aws-servicecatalog: AWS::ServiceCatalog::PortfolioPrincipalAssociation: PortfolioId property is now requiredaws-servicecatalog: AWS::ServiceCatalog::PortfolioPrincipalAssociation: PrincipalARN property is now requiredaws-servicecatalog: AWS::ServiceCatalog::PortfolioProductAssociation: Id attribute removedaws-neptune: AWS::Neptune::EventSubscription: SnsTopicArn property is now requiredaws-neptune: AWS::Neptune::EventSubscription: Id attribute removedaws-servicecatalog: AWS::ServiceCatalog::PortfolioShare: Id attribute removedaws-lex: AWS::Lex::ResourcePolicy: ResourceArn property is now immutableuseOptimalInstanceClassesaws-datazone: AWS::DataZone::ProjectProfile: Id property removedaws-logs: AWS::Logs::DeliveryDestination: DeliveryDestinationType attribute removedaws-s3: AWS::S3::AccessGrantsLocation: IamRoleArn property is now requiredaws-s3: AWS::S3::AccessGrantsLocation: LocationScope property is now requiredaws-servicecatalog: AWS::ServiceCatalog::TagOptionAssociation: Id attribute removedRuntimeAuthorizerConfiguration.usingCognito()has changed to accept IUserPool and IUserPoolClient constructs instead of string parameters, and now supports multiple clientsaws-dynamodb: AWS::DynamoDB::GlobalTable: GlobalTableSettingsReplicationMode property removedaws-dynamodb: AWS::DynamoDB::GlobalTable: GlobalTableSourceArn property removedaws-dynamodb: AWS::DynamoDB::Table: GlobalTableSettingsReplicationMode property removedaws-events: AWS::Events::EventBusPolicy: Id attribute removedIBucketRef,IRoleRef,etc.) were moved to a newaws-cdk-lib.interfacessubmodule to prevent cyclic dependencies between service modulesaws-opensearchserverless: AWS::OpenSearchServerless::Collection: StandbyReplicas property is now immutableaws-servicecatalog: AWS::ServiceCatalog::PortfolioPrincipalAssociation: Id attribute removedaws-dynamodb: AWS::DynamoDB::GlobalTable: ResourcePolicy property is now requiredaws-backup: AWS::Backup::LogicallyAirGappedBackupVault: EncryptionKeyArn attribute removedAWS::EC2::EC2FleetpropertiesDefaultTargetCapacityTypeandTargetCapacityUnitTypeare now immutable.lifecycleConfigurationwith default values when not explicitly specified by users.engineproperty inNoPasswordUserPropshas been removed.JobQueue.computeEnvironmentsproperty now containscomputeEnvironment: IComputeEnvironment → IComputeEnvironmentRef(fewer guarantees, needs casting).BackupPlanRule.propsproperty now containsbackupVault: IBackupVault → IBackupVaultRef(fewer guarantees, needs casting).AWS::SecurityHub::ConnectorV2andAWS::SSM::MaintenanceWindowTarget.AWS::ECS::CapacityProviderpropertyManagedInstancesNetworkConfiguration.SecurityGroupsis now required.securityGroupsis now required inManagedInstancesCapacityProviderProps.ApiDestination.fromApiDestinationAttributes()return type change and type changes inEventDestination.bus,FlowLogDestination.bind(), andICluster.executeCommandConfiguration.ApiDestination.fromApiDestinationAttributes()now returnsIApiDestinationinstead ofApiDestination;EventDestination.buschanged fromIEventBustoIEventBusRef.FlowLogDestination.bind()andICluster.executeCommandConfigurationnow containILogGroupRefinstead ofILogGroup.enableBatchConfigproperty is explicitly disabled by default.IEncryptedResourcenow extendsIEnvironmentAwareinstead ofIResource. Receivers have fewer guarantees about object shape and implementations no longer need to implementIResource.gatewayRef,gatewayTargetRef,memoryRef,runtimeRef,runtimeEndpointRef,browserCustomRef,codeInterpreterCustomRef).AWS::LicenseManager::Licenseand immutability change inAWS::SageMaker::Cluster.DC2_LARGEtoRA3_LARGE.AWS::CodeDeploy::DeploymentGroup.AWS::BedrockAgentCore::OnlineEvaluationConfig,AWS::AppStream::ImageBuilder, andAWS::EKS::Capability.AWS::AppSync::GraphQLApiandAWS::KafkaConnect::Connector; attribute removal inAWS::AppStream::Stack.AWS::EMR::Cluster.AWS::ElasticLoadBalancing::LoadBalancer- removedSourceSecurityGroupattribute,PolicyItemtype, andSourceSecurityGrouptype from L1 CloudFormation resource definitionsAWS::ElastiCache::CacheCluster- removedIdattribute from L1 CloudFormation resource definitionsAWS::SageMaker::Model- removedIdattribute from L1 CloudFormation resource definitionsAWS::VpcLattice::AuthPolicy-Stateattribute enum values changed fromACTIVE|INACTIVEtoActive|Inactivein L1 CloudFormation resource definitionsAWS::NeptuneGraph::GraphSnapshot-GraphIdentifierproperty is now required in L1 CloudFormation resource definitionsAWS::PCAConnectorAD::ServicePrincipalName-ConnectorArnandDirectoryRegistrationArnproperties are now required in L1 CloudFormation resource definitionsAWS::PCAConnectorAD::TemplateGroupAccessControlEntry-GroupSecurityIdentifierandTemplateArnproperties are now required in L1 CloudFormation resource definitionsRuntime.NODEJS_LATESTnow resolves tonodejs24.xin every region. Existing resources will see runtime update fromnodejs22.xtonodejs24.xon next deploy. Node.js 24 removes support for callback-style asynchronous handlers - customers must migrate to async handlers or pin toRuntime.NODEJS_22_XAWS::CloudWatch::LogAlarm-QueryLanguageproperty removed fromScheduledQueryConfigurationtype in L1 CloudFormation resource definitionsAWS::ElasticLoadBalancing::LoadBalancer-Idattribute removed and primary identifier is nowLoadBalancerNamein L1 CloudFormation resource definitionsGatewaymetric helpers now emit corrected CloudWatch dimensions - per-gateway metrics use{ Operation, Protocol, Resource }(was{ Resource }). Alarms/dashboards built on old dimensions must be updatedRuntimeBasemetric helpers now emit corrected CloudWatch dimensions - per-resource metrics use{ Operation, Name, Resource }(was{ Resource }) and aggregated metrics use{ AggregateOperation }(was{ Resource: 'All' }). Alarms/dashboards built on old dimensions must be updatedtimeZoneon FirehoseS3Bucketdestination now throwsValidationErrorduring synthesis instead of failing at CloudFormation deployment. Unsupported values include 3-letter IANA abbreviations (e.g.EST),Etc/UTC,Etc/GMT,Factory, and strings with characters outside[a-zA-Z/_]+aws-cdk-lib/aws-bedrockagentcoreremovalPolicyprop removed fromFlowProps,GatewayProps, andBridgeProps. Resources now follow CloudFormation's default deletion behaviour (Delete)IDatabase.catalogArnandIDatabase.catalogIdremoved in favor of type-safeICatalogwithcatalogArnandcatalogId. Consumers and implementations updated accordinglyPySparkFlexEtlJobandScalaSparkFlexEtlJobnow default toGlueVersion.V5_0instead ofV3_0Databaseresources will change toRETAINDataQualityRulesetProps.rulesetDqdl: stringreplaced bydqdl: Dqdl. Build withDqdl.fromString('Rules = [ ... ]')s3Encryption,cloudWatchEncryption, andjobBookmarksEncryptionare no longer object literals. Use factory methods instead.CloudWatchEncryptionModeandJobBookmarksEncryptionModeenums removedInputFormatandOutputFormattype correction - apps using incorrect cross-assignments will get compilation errorsworkerTypeandnumberOfWorkersmoved toworkerConfigurationfor Spark jobs.PythonShellJobno longer accepts them.RayJobno longer acceptsworkerTypeSparkJobProps.enableMetricsremoved (was a dead prop)has_encrypted_datasupplied viaparametersnow throwsTypeis now opaque class - construct column types viaSchemafactories orSchema.custom(...).StorageParameter.custom(key, value)requires string value,StorageParameter.writeKmsKeyIdtakeskms.IKeyS3TableProps.bucket/encryption/encryptionKeyremoved. UsestorageandclientSideEncryptionproperties instead.S3Table.encryption/encryptionKeyremoved.TableEncryptionenum and deprecatedTable/TablePropsremovedAWS::Athena::Session,AWS::BCMDataExports::Table,AWS::Bedrock::DefaultPromptRouter,AWS::Bedrock::ModelInvocationJob,AWS::CloudFormation::ResourceScan,AWS::CodeArtifact::Package,AWS::CodeBuild::Sandbox,AWS::DynamoDB::Export,AWS::ElastiCache::ReservedCacheNode,AWS::EMR::NotebookExecution,AWS::Events::Replay,AWS::FIS::SafetyLever,AWS::GreengrassV2::Component,AWS::GreengrassV2::CoreDevice,AWS::IdentityStore::AllGroupMemberships, multiple ImageBuilder resources,AWS::MediaLive::Offering,AWS::MediaPackage::HarvestJob,AWS::MemoryDB::MultiRegionParameterGroup,AWS::MemoryDB::ReservedNode,AWS::Omics::Reference,AWS::OSIS::PipelineBlueprint,AWS::Personalize::DataDeletionJob,AWS::Personalize::Recipe,AWS::RedshiftServerless::RecoveryPoint,AWS::SageMaker::ModelCardExportJob,AWS::SageMaker::MonitoringScheduleAlert,AWS::SageMaker::TransformJob,AWS::Signer::SigningJob,AWS::SSM::Session,AWS::SSO::ApplicationProvider,AWS::StepFunctions::MapRun, andAWS::Transcribe::MedicalTranscriptionJob.Idattributes removed fromAWS::CertificateManager::Certificate,AWS::CodeBuild::SourceCredential,AWS::DAX::ParameterGroup, multiple DMS resources, multiple DocDB resources, multiple Glue resources,AWS::MediaConvert::Preset,AWS::Route53::RecordSet, andAWS::SES::ReceiptRuleSet.ConnectorTypeandCredentialProviderVendorproperties now immutable;OperatingSystemallowed values reduced from [LINUX_X86_64,LINUX_ARM64,MAC_ARM64,WINDOWS_X86_64] to [LINUX_X86_64,LINUX_ARM64].CreatedTimestampandLastUpdatedTimestampattribute types changed fromnumbertostringonAWS::Chime::AppInstanceandAWS::Chime::AppInstanceBot.AWS::DAX::ParameterGroupDescriptionproperty is now immutable.AWS::DMS::ReplicationTaskMigrationTypeproperty is now immutable.AuthenticationConfigurationInputandOAuth2PropertiesInputrenamed toAuthenticationConfigurationandOAuth2PropertiesonAWS::Glue::Connection;Name,TargetTable.DatabaseName, andTargetTable.TableNameproperties now required onAWS::Glue::DataQualityRuleset;Nameproperty now immutable onAWS::Glue::DataQualityRuleset;Tagsproperty type changed fromjsontomap<string>onAWS::Glue::DataQualityRuleset;Nameproperty now immutable onAWS::Glue::CustomEntityType;Tagsproperty no longer recognised as resource tags onAWS::Glue::CustomEntityType;TransformEncryptionproperty now immutable onAWS::Glue::MLTransform.AWS::Route53::RecordSetGeoProximityLocationproperty removed, along with supportingGeoProximityLocationandCoordinatescomplex-property types.AWS::SSM::AssociationInstanceIdproperty is now immutable.AWS::VpcLattice::ServiceNetworkSharingConfigproperty is now immutable.DataQualityTargetTable's constructor removed — useDataQualityTargetTable.fromTable(database, table)orfromTableName(database, tableName);IDatabasenow extendsIDatabaseRef.DataQualityRulesetProps.clientTokenremoved; use theCfnDataQualityRulesetL1 for request-level idempotency.S3Table.clientSideEncryptionKeyis nowkms.IKeyRefinstead ofkms.IKey.DataQualityRulesetProps.rulesetNameis now required.defaultArguments; passing any of the following throughdefaultArgumentsnow throws aValidationError: construct-managed arguments (--enable-continuous-cloudwatch-log,--continuous-log-logGroup,--continuous-log-logStreamPrefix,--continuous-log-conversionPattern,--enable-continuous-log-filter,--enable-metrics,--enable-observability-metrics,--enable-spark-ui,--spark-event-logs-path,--job-language,--class,--extra-jars,--user-jars-first,--extra-py-files,--extra-files,library-set) and Glue-reserved arguments (--debug,--mode,--JOB_NAME,--endpoint).checkNoReservedArgs(defaultArguments?)method on theJobbase class removed; replaced by protected memberssetManagedArgument(key, value?)andmergeDefaultArguments(defaultArguments?).FirewallRuleGroupAssociationnow honors the previously-ignoredmutationProtectionandnameprops; stacks that setmutationProtection: truewill enable mutation protection on redeploy; stacks that setnamewill write it to the template, which may replace the association.ActionandConditionare no longer plain objects — useAction.job(...)/Action.crawler(...)andCondition.job(...)/Condition.crawler(...); jobs referenced viaIJobRefand crawlers viaICrawlerRefinstead ofCfnCrawlerfield or crawler-name string;IJobnow extendsIJobRef;addDailyScheduledTrigger/addWeeklyScheduledTrigger/addCustomScheduledTriggerreplaced byaddScheduledTrigger(id, { schedule, ... });addNotifyEventTriggerrenamedaddEventTrigger; alladdXxxTriggermethods now returnITriggerRefinstead ofCfnTrigger.PartitionProjectionConfiguration's variant fields (integerRange, dateRange, interval, digits, format, intervalUnit, values) no longer public; DATE projection now takesstep: { interval, intervalUnit }instead of top-levelinterval/intervalUnit.ConnectionOptionsno longer hassubnet,vpc, orvpcSubnets; usenetwork: ConnectionNetwork.subnet(...)ornetwork: ConnectionNetwork.vpc(...)instead.AWS::CodeCommit::RepositoryIdattribute removed.AWS::Config::DeliveryChannelDeliveryFrequencyproperty values narrowed to an enum.AWS::DMS::ReplicationTaskIdattribute removed.AWS::ServiceDiscovery::Instanceprimary identifier is now ServiceId and InstanceId, soInstanceReferencenow requiresserviceId.AWS::AppStream::StackFleetAssociationFleetNameandStackNameproperties now immutable.AWS::AppSync::ApiCacheAtRestEncryptionEnabledandTransitEncryptionEnabledproperties now immutable.AWS::BedrockAgentCore::OnlineEvaluationConfigOutputConfigattribute removed.AWS::Cloud9::EnvironmentEC2Idattribute removed.AWS::Config::ConfigurationRecorderandAWS::Config::OrganizationConfigRuleIdattributes removed.AWS::DataZone::PolicyGrantDetailandPrincipalproperties now required.AWS::DirectoryService::MicrosoftADIdattribute removed.AWS::Lambda::NetworkConnectorVpcEgressConfiguration.NetworkProtocolandVpcEgressConfiguration.SecurityGroupIdsproperties now required.loggingPropertiesprop onClusterProps(and theLoggingPropertiesinterface) removed; use the newloggingprop withClusterLogging.s3({ bucket, keyPrefix })orClusterLogging.cloudWatch({ logExports })instead.AWS::CloudWatch::AnomalyDetectorIdattribute removed.AWS::Glue::TableIdattribute removed;IcebergInput.MetadataOperationtype narrowed fromjsontostring;IcebergTableInput.Propertiestype narrowed fromjsontoMap<string, string>.AWS::IoT::PolicyPrincipalAttachmentIdattribute removed.SheetLayoutGroupMember.Typetype narrowed fromjsonto string enum (ELEMENT|GROUP) onAWS::QuickSight::Analysis,AWS::QuickSight::Dashboard, andAWS::QuickSight::Template.✅ 51 CVEs resolved by this upgrade, including 1 critical 🚨 CVE
This PR will resolve the following CVEs:
preserveOrder:true. Version 5.3.8...URLnormalizes\to/for special schemes. The same input can therefore yield different hosts infast-uriversusfetch()/undici, so host allowlists, SSRF filters, or redirect checks...normalize()andequal()decoded percent-encoded slash and dot segments before dot-segment removal, so encoded sequences could collapse paths the same way literal separators would. Distinct URIs could normalize to the same path and compare equal, weakening checks that rely on normal...fast-uri's host canonicalization for Unicode/IDN values was fixed to prevent security bypasses caused by inconsistent ASCII/Unicode host handling. The patch changes normalization to use WHATWG URL parsing (new URL('http://' + parsed.host).hostname) and adds tests to ensure correct AS...fast-urionly treats a literal//as an authority introducer, so references that use\\,/\,\/, or whitespace-split variants after an optional scheme are parsed with no authority and the sequence folds into the path. Node's WHATWGURL(used byfetch(),undici, and Node...%2fand%0d%0a. This enables URL redirection bypasses, allowlist evasion, and header injection attacks on applications normalizing untrusted URLs.fast-uri'sserialize()writes an object'sportvalue into the URI authority without checking that it only contains digits. A port value containing@or another authority delimiter lets the rebuilt URI string address a different userinfo and host than the caller intended. An app...fast-urionly lowercases a percent-decoded host's ASCII letters for schemes that also run full path normalization, and a nested%-escape can still leave the fold incomplete elsewhere.equal()andresolve()therefore treat an encoded host such as a percent-encoded letter in `met...expand()function limits the size of the accumulator where results are combined but leaves the intermediate arrays built before that step unbounded. Comma alternatives are concatenated into one array with no cumulative result or character limit, and padded numeric sequence...brace-expansionexpands shell-style brace patterns through a recursiveexpand_function that computes thepostsegment unconditionally before the early-return branches that discard it. An input containing many consecutive non-expanding{}groups forces each recursion lev...{1..2..0}) causes the sequence generation loop to run indefinitely, making the proces...brace-expansionparser can be driven into excessive internal rescans when handling certain crafted brace patterns, consuming CPU time disproportionate to the size of the input before it finishes. Malformed nested or repeated brace sequences can keep the parser looping well...brace-expansionparser can produce excessive intermediate output when handling certain crafted brace patterns, growing memory and CPU use well beyond what the input size would suggest. A malformed or deeply repeated brace sequence can force the parser to keep expanding bef...{group},b}pattern, restarting the scan without limiting how many times this can happen. A crafted input such as{a}followed by many closing braces triggers thousands of rescans over a ...aws-cdk-libare vulnerable to OS command injection during Docker-basedNodejsFunctionbundling when thenodeModulesoption is used. An attacker who can control dependency version strings inpackage.jsoncan inject shell commands that execute with the pri...AssetStagingconstruct, reached throughstageByBundling, callsdetermineBundledAssetto stage Docker or local bundling output as the deployed asset. Before the fix, a single file was accepted even when it was a symlink, so the publisher could stream a readable build-...The AWS Cloud Development Kit (AWS CDK) is an open-source software development framework for defining cloud infrastructure in code and provisioning it through AWS CloudFormation. We identified an issue in which explicitly setting
encrypted: trueon the `S3LoggingOption...yamlis a YAML parser and serialiser for JavaScript. Parsing a YAML document with a version ofyamlon the 1.x branch prior to 1.10.3 or on the 2.x branch prior to 2.8.3 may throw a RangeError due to a stack overflow. The node resolution/composition phase uses recursive function calls ...matchOne()performs unbounded recursive backtracking when a glob pattern contains multiple non-adjace...*()extglobs produce regexps with nested unbounded quantifiers (e.g.(?:(?:a|b)*)*), which e...Summary
This notification is related to the use of specific values for the region input field when calling AWS services. An actor with access to the environment in which the SDK is used could set the region input field to an invalid value.
A...
$dataoption is enabled by using inherited property names likeconstructorortoStringas format values, causing unexpected validation behavior or errors.copyandmovemethods usecheckParentPathsandcheckParentPathsSyncinlib/util/stat.jsto detect when the destination is inside the source directory and abort so copy does not recurse into the tree it is creating. The check walks up the destination's ancestors but return...🤖 Remediation details
Fix security vulnerabilities in fast-xml-parser, fast-uri, brace-expansion, aws-cdk-lib, yaml, minimatch, @smithy/config-resolver, ajv, and fs-extra
Short summary
This PR remediates security vulnerabilities in nine npm packages: fast-xml-parser, fast-uri, brace-expansion, aws-cdk-lib, yaml, minimatch, @smithy/config-resolver, ajv, and fs-extra. The fixes are applied via three direct dependency version bumps in the root
package.json(aws-cdk-lib,@aws-sdk/client-secrets-manager,@aws-sdk/credential-providers) and a lockfile-only transitive refresh (npm update minimatch brace-expansion ajv --package-lock-only), with all resolved version changes reflected inpackage-lock.json.fast-xml-parser
Previously resolved at 4.4.1 (below the patched floor of 4.5.5) as a transitive dependency of
@aws-sdk/core, which was itself pulled in by the direct dependencies@aws-sdk/client-secrets-managerand@aws-sdk/credential-providers. Bumping both direct deps from^3.348.0to^3.844.0caused npm to resolve@aws-sdk/coreto 3.844.0+, which declaresfast-xml-parserat 5.2.5 — satisfying the patched requirement. The package no longer appears as a separate lockfile entry under the new resolution.fast-uri
Previously resolved at 3.0.6 (below the patched floor of 3.1.9) as a transitive dependency nested inside
aws-cdk-lib's own copy ofajv. Bumpingaws-cdk-libfrom^2.78.0to^2.267.0inpackage.jsonresolved the package to 2.274.0, which no longer carries a vulnerablefast-uriinstance — the package is absent from the updated lockfile tree.brace-expansion
Appeared in three lockfile locations: nested under
aws-cdk-lib'sminimatch(1.1.12), at the root hoisted byminimatch3.1.2 (1.1.12), and nested underfilelist'sminimatch(2.0.2). The aws-cdk-lib nested instance was resolved by bumpingaws-cdk-libto^2.267.0, which now pullsbrace-expansion5.0.12. The root instance (1.1.12 → 1.1.21) and the filelist-nested instance (2.0.2 → 2.1.7) were fixed by runningnpm update brace-expansion --package-lock-only, which allowedminimatch's^1.1.7and^2.0.1ranges to resolve to patched releases.aws-cdk-lib
aws-cdk-libitself was a vulnerable direct dependency (resolved at 2.204.0, below the patched floor of 2.267.0). Its declared spec inpackage.jsonwas widened from^2.78.0to^2.267.0, resolving it to 2.274.0 in the lockfile. This single bump also transitively remediated the nested instances offast-uri,yaml,fs-extra,minimatch, andbrace-expansionthat are bundled withinaws-cdk-lib.yaml
Resolved at 1.10.2 (below the patched floor of 1.10.3) as a transitive dependency pinned exactly by
aws-cdk-lib. Bumpingaws-cdk-libto^2.267.0(resolved 2.274.0) caused the nestedyamlto move to 1.10.3, satisfying the patched requirement with no additional changes needed.minimatch
Appeared in three lockfile locations: nested under
aws-cdk-lib(3.1.2), at the root hoisted by eslint and related dev tooling (3.1.2), and nested underfilelist(5.1.6). The aws-cdk-lib nested instance was resolved by theaws-cdk-libbump (now at 10.2.6 under the new major used by that package version). The root instance (3.1.2 → 3.1.5) and the filelist-nested instance (5.1.6 → 5.1.9) were fixed by runningnpm update minimatch --package-lock-only, which allowed the existing^3.1.2and^5.0.1ranges to resolve to patched releases.@smithy/config-resolver
Previously resolved at 4.1.4 (below the patched floor of 4.4.0) as a transitive dependency of
@aws-sdk/client-secrets-managerand related@aws-sdk/*packages. Bumping@aws-sdk/client-secrets-managerand@aws-sdk/credential-providersfrom^3.348.0to^3.844.0resolved the entire@aws-sdkfamily to 3.1156.0, which satisfies@smithy/config-resolver≥ 4.4.0. The package no longer appears as a separate lockfile entry under the new resolution.ajv
Appeared in two lockfile locations: nested under
aws-cdk-lib'stabledependency (8.17.1) and at the root hoisted byeslintand@eslint/eslintrc(6.12.6). The aws-cdk-lib nested instance was resolved by theaws-cdk-libbump. The root instance (6.12.6 → 6.15.0) was fixed by runningnpm update ajv --package-lock-only;eslint8.57.1 already declaredajvas^6.12.4, so the lockfile refresh was sufficient to reach the patched 6.15.0 release.fs-extra
Resolved at 11.3.0 (below the patched floor of 11.3.6) as a transitive dependency nested inside
aws-cdk-lib. Bumpingaws-cdk-libto^2.267.0(resolved 2.274.0) caused the nestedfs-extrato move to 11.4.1, which exceeds the patched minimum.Version changes
aws-cdk-lib^2.78.0→ 2.204.0^2.267.0→ 2.274.0@aws-sdk/client-secrets-manager^3.348.0→ 3.840.0^3.844.0→ 3.1156.0@aws-sdk/credential-providers^3.348.0→ 3.840.0^3.844.0→ 3.1156.0fast-xml-parserfast-uri@smithy/config-resolveryaml(aws-cdk-lib nested)fs-extra(aws-cdk-lib nested)minimatch(aws-cdk-lib nested)brace-expansion(aws-cdk-lib nested)minimatch(root)brace-expansion(root)minimatch(filelist nested)brace-expansion(filelist nested)ajv(root, eslint)